次の方法で共有


MediaStreamingSharedFolder.SetInclusionInMediaLibrary Method (Boolean)

 

Includes or excludes the shared folder from the Media Library.

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

Syntax

public void SetInclusionInMediaLibrary(
    bool enable
)
public:
void SetInclusionInMediaLibrary(
    bool enable
)
Public Sub SetInclusionInMediaLibrary (
    enable As Boolean
)

Parameters

  • enable
    Type: System.Boolean

    true if the shared folder is configured for media streaming; otherwise, false.

Exceptions

Exception Condition
SecurityAccessDeniedException

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

ProviderNotAvailableException

The Media Streaming Provider service could not be contacted to receive this request.

See Also

MediaStreamingSharedFolder Class
Microsoft.WindowsServerSolutions.MediaStreaming Namespace

Return to top