Partager via


IMediaStreaming.GetMediaSharingLibraryName Method ()

 

Gets the name of the Media Library shared by the home server.

Namespace:   Microsoft.WindowsServerSolutions.MediaStreaming
Assembly:  MediaStreamingObjectModel (in MediaStreamingObjectModel.dll)

Syntax

[OperationContractAttribute]
[FaultContractAttribute(typeof(SecurityAccessDeniedException))]
string GetMediaSharingLibraryName()
[OperationContractAttribute]
[FaultContractAttribute((SecurityAccessDeniedException^::typeid))]
String^ GetMediaSharingLibraryName()
<OperationContractAttribute>
<FaultContractAttribute(GetType(SecurityAccessDeniedException))>
Function GetMediaSharingLibraryName As String

Return Value

Type: System.String

The name of the Media Library shared by the home server.

Exceptions

Exception Condition
FaultException<TDetail>

If the caller is not a member of the Administrators user group.

FaultException<TDetail>

If a service or provider that the Media Streaming Provider depends upon cannot be contacted to help service this request.

See Also

IMediaStreaming Interface
Microsoft.WindowsServerSolutions.MediaStreaming Namespace

Return to top