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)
Function CreateShare ( _
<InAttribute> wszName As String, _
<InAttribute> wszDescription As String, _
<InAttribute> bIsDuped As Integer _
) As IShareInfo2
IShareInfo2 CreateShare (
[InAttribute] string wszName,
[InAttribute] string wszDescription,
[InAttribute] int bIsDuped
)
IShareInfo2^ CreateShare (
[InAttribute] String^ wszName,
[InAttribute] String^ wszDescription,
[InAttribute] int bIsDuped
)
IShareInfo2 CreateShare (
/** @attribute InAttribute() */ String wszName,
/** @attribute InAttribute() */ String wszDescription,
/** @attribute InAttribute() */ int bIsDuped
)
function CreateShare (
wszName : String,
wszDescription : String,
bIsDuped : int
) : IShareInfo2
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP
Target Platforms
Windows Home Server