Creates a distribution share on a specified path. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim distributionPath As String
DistributionShareInfo.CreateDistributionShare(distributionPath)

Syntax

Visual Basic
Public Shared Sub CreateDistributionShare( _
		ByVal distributionPath As String _
)
C#
public static void CreateDistributionShare(
		string distributionPath
);
C++
public:
static void CreateDistributionShare(
		String^ distributionPath
);
J#
public static void CreateDistributionShare(
		System.String distributionPath
);
JScript
public static function CreateDistributionShare(
		 distributionPath : String
) : Void;

Parameters

distributionPath

Path of the specified folder.

Remarks

If the specified folder does not exist, it is created. This method creates the designated folder structure for distribution shares.


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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also