IWHSInfo2.CreateShare Method Home
IWHSInfo2.CreateShare Method
IWHSInfo2.CreateShare Method
Creates a managed shared folder on the home server.

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

Syntax

Function CreateShare ( _
    <InAttribute> wszName As String, _
    <InAttribute> wszDescription As String, _
    <InAttribute> bIsDuped As Integer _
) As IShareInfo2
IShareInfo2 CreateShare (
    /** @attribute InAttribute() */ String wszName, 
    /** @attribute InAttribute() */ String wszDescription, 
    /** @attribute InAttribute() */ int bIsDuped
)

Parameters

wszName

A string that contains the name of the shared folder.

wszDescription

A string that contains the description of the shared folder.

bIsDuped

An integer that indicates whether the shared folder is duplicated.

Return Value

An instance of IShareInfo2.
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

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View