IMediaStreaming.IsComputerMediaStreamingEnabled Method ()
Determines whether media streaming is on or off on the home server.
Namespace: Microsoft.WindowsServerSolutions.MediaStreaming
Assembly: MediaStreamingObjectModel (in MediaStreamingObjectModel.dll)
Syntax
[OperationContractAttribute]
[FaultContractAttribute(typeof(SecurityAccessDeniedException))]
bool IsComputerMediaStreamingEnabled()
[OperationContractAttribute]
[FaultContractAttribute((SecurityAccessDeniedException^::typeid))]
bool IsComputerMediaStreamingEnabled()
<OperationContractAttribute>
<FaultContractAttribute(GetType(SecurityAccessDeniedException))>
Function IsComputerMediaStreamingEnabled As Boolean
Return Value
Type: System.Boolean
True if media streaming is enabled, false otherwise.
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. |
Remarks
Note that the return value is independent of whether a particular shared folder is configured to be included or excluded from the Media Library.
See Also
IMediaStreaming Interface
Microsoft.WindowsServerSolutions.MediaStreaming Namespace
Return to top