MediaLibraryInfoProviderGetMediaLibraryInfo Method (String, String) |
Returns media library info specified by library name and site name.
Do not use for retrieving group MLs (use GetMediaLibraryInfo(string libraryName, int siteId, int groupId) instead).
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax public static MediaLibraryInfo GetMediaLibraryInfo(
string libraryName,
string siteName
)
Parameters
- libraryName
- Type: SystemString
Library name - siteName
- Type: SystemString
Site name
Return Value
Type:
MediaLibraryInfoSee Also