IWHSInfo2.RemoveShare Method

Delete a managed shared folder from the home server.

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

Usage

Syntax

'Declaration
Sub RemoveShare ( _
    <InAttribute> pIShareinfo As IShareInfo2 _
)
void RemoveShare (
    [InAttribute] IShareInfo2 pIShareinfo
)
void RemoveShare (
    [InAttribute] IShareInfo2^ pIShareinfo
)
void RemoveShare (
    /** @attribute InAttribute() */ IShareInfo2 pIShareinfo
)
function RemoveShare (
    pIShareinfo : IShareInfo2
)

Parameters

  • pIShareinfo
    An IShareInfo2 object that represents a shared folder on the home server.

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

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