Checks whether a specified folder contains a distribution share. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim path As String
Dim returnValue As Boolean
returnValue = DistributionShareInfo.IsDistributionShare(path)

Syntax

Visual Basic
Public Shared Function IsDistributionShare( _
		ByVal path As String _
) As Boolean
C#
public static bool IsDistributionShare(
		string path
);
C++
public:
static bool IsDistributionShare(
		String^ path
);
J#
public static boolean IsDistributionShare(
		System.String path
);
JScript
public static function IsDistributionShare(
		 path : String
) : Boolean;

Parameters

path

Path to the folder that may contain a distribution share.

Return Value

True if path contains a distribution share, false otherwise.

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