IMediaStreaming.IsSharedFolderMediaStreamingEnabled Method (MediaStreamingSharedFolderData)
Determines whether the specified shared folder is included in the Media Library.
Namespace: Microsoft.WindowsServerSolutions.MediaStreaming
Assembly: MediaStreamingObjectModel (in MediaStreamingObjectModel.dll)
Syntax
[OperationContractAttribute]
[FaultContractAttribute(typeof(ArgumentNullException))]
[FaultContractAttribute(typeof(SecurityAccessDeniedException))]
bool IsSharedFolderMediaStreamingEnabled(
MediaStreamingSharedFolderData share
)
[OperationContractAttribute]
[FaultContractAttribute((ArgumentNullException^::typeid))]
[FaultContractAttribute((SecurityAccessDeniedException^::typeid))]
bool IsSharedFolderMediaStreamingEnabled(
MediaStreamingSharedFolderData^ share
)
<OperationContractAttribute>
<FaultContractAttribute(GetType(ArgumentNullException))>
<FaultContractAttribute(GetType(SecurityAccessDeniedException))>
Function IsSharedFolderMediaStreamingEnabled (
share As MediaStreamingSharedFolderData
) As Boolean
Parameters
share
Type: Microsoft.WindowsServerSolutions.MediaStreaming.MediaStreamingSharedFolderDataData representing a shared folder on the home server.
Return Value
Type: System.Boolean
True if the specified shared folder is included in the Media Library, false otherwise.
Exceptions
Exception | Condition |
---|---|
FaultException<TDetail> | If share is null. |
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. |
Remarks
Note that the return value is independent of whether media streaming is enabled or disabled on the home server.
See Also
IMediaStreaming Interface
Microsoft.WindowsServerSolutions.MediaStreaming Namespace
Return to top