Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the name of the Media Library shared by the home server.
Namespace:   Microsoft.WindowsServerSolutions.MediaStreaming
Assembly:  MediaStreamingObjectModel (in MediaStreamingObjectModel.dll)
Syntax
[OperationContractAttribute]
[FaultContractAttribute(typeof(ArgumentException))]
[FaultContractAttribute(typeof(SecurityAccessDeniedException))]
void SetMediaSharingLibraryName(
    string mediaLibraryName
)
[OperationContractAttribute]
[FaultContractAttribute((ArgumentException^::typeid))]
[FaultContractAttribute((SecurityAccessDeniedException^::typeid))]
void SetMediaSharingLibraryName(
    String^ mediaLibraryName
)
<OperationContractAttribute>
<FaultContractAttribute(GetType(ArgumentException))>
<FaultContractAttribute(GetType(SecurityAccessDeniedException))>
Sub SetMediaSharingLibraryName (
    mediaLibraryName As String
)
Parameters
- mediaLibraryName 
 Type: System.String- The desired name of the Media Library shared by the home server. 
Exceptions
| Exception | Condition | 
|---|---|
| FaultException<TDetail> | If mediaLibraryName is null. | 
| FaultException<TDetail> | If mediaLibraryName is the Empty string or has Length greater than 44. | 
| FaultException<TDetail> | If a service or provider that the Media Streaming Provider depends upon cannot be contacted to help service this request. | 
| FaultException<TDetail> | If the caller is not a member of the Administrators user group. | 
See Also
IMediaStreaming Interface
Microsoft.WindowsServerSolutions.MediaStreaming Namespace
Return to top