Partager via


IMediaStreaming.GetSharedFolders Method ()

 

Get the list of shared folders on the server.

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

Syntax

[OperationContractAttribute]
[FaultContractAttribute(typeof(SecurityAccessDeniedException))]
IList<MediaStreamingSharedFolderData> GetSharedFolders()
[OperationContractAttribute]
[FaultContractAttribute((SecurityAccessDeniedException^::typeid))]
IList<MediaStreamingSharedFolderData^>^ GetSharedFolders()
<OperationContractAttribute>
<FaultContractAttribute(GetType(SecurityAccessDeniedException))>
Function GetSharedFolders As IList(Of MediaStreamingSharedFolderData)

Return Value

Type: System.Collections.Generic.IList<MediaStreamingSharedFolderData>

A list of shared folders on the server. This list comes from the storage subsystem, but folders that are not shared are not included in this list.

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