Share via


IShareInfo.MediaConnectEnabled Property

Indicates whether the shared folder has been enabled for Media Library Sharing.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
<DispIdAttribute(1610678276)> _
ReadOnly Property MediaConnectEnabled As Integer
[DispIdAttribute(1610678276)] 
int MediaConnectEnabled { get; }
[DispIdAttribute(1610678276)] 
property int MediaConnectEnabled {
    int get ();
}
/** @property */
int get_MediaConnectEnabled ()
function get MediaConnectEnabled () : int

Property Value

An integer value of 0 or 1. If the shared folder is not enabled for Media Library Sharing, the return value is 0; otherwise, the return value is 1.

Remarks

In Windows Home Server, a folder can be enabled for Media Library Sharing. Digital media receivers (DMR) can access Media Library Sharing enabled folders and stream any digital contents within them to a supported digital media player, such as Windows Media Player 11. The MediaConnectEnabled property reflects whether the shared folder is enabled for Media Library Sharing.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

IShareInfo Interface
IShareInfo Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace