Click or drag to resize
MediaLibraryInfoProviderGetMediaLibraryInfo Method (String, Int32)

Note: This API is now obsolete.

Returns media library info specified by library name, site name and groupId.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMediaLibraryInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MediaLibraryInfo.Provider.")]
public static MediaLibraryInfo GetMediaLibraryInfo(
	string libraryName,
	int siteId
)

Parameters

libraryName
Type: SystemString
Library name
siteId
Type: SystemInt32
Site ID

Return Value

Type: MediaLibraryInfo
See Also