Imports a package from a specific path to a distribution share
folder.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim sourcePath As String
Dim distributionSharePath As String
Dim returnValue As Boolean
returnValue = DistributionShareInfo.ImportPackage(sourcePath, distributionSharePath)
|
Syntax
Visual Basic |
Public Shared Function ImportPackage( _
ByVal sourcePath As String, _
ByVal distributionSharePath As String _
) As Boolean
|
C# |
public static bool ImportPackage(
string sourcePath,
string distributionSharePath
);
|
C++ |
public:
static bool ImportPackage(
String^ sourcePath,
String^ distributionSharePath
);
|
J# |
public static boolean ImportPackage(
System.String sourcePath,
System.String distributionSharePath
);
|
JScript |
public static function ImportPackage(
sourcePath : String,
distributionSharePath : String
) : Boolean;
|
Parameters
- sourcePath
-
Path to the package folder.
- distributionSharePath
-
Path to distribution share folder.
Return Value
True if successful,
false otherwise.
Remarks
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