ICOMAdminCatalog2::InstallPartition method (comadmin.h)
Imports a partition from a file.
Syntax
HRESULT InstallPartition(
[in] BSTR bstrFileName,
[in] BSTR bstrDestDirectory,
[in] long lOptions,
[in] BSTR bstrUserID,
[in] BSTR bstrPassword,
[in] BSTR bstrRSN
);
Parameters
[in] bstrFileName
The file from which the partition is to be imported.
[in] bstrDestDirectory
The path to the directory in which to install the partition components.
[in] lOptions
The install options. This parameter can be one of the following values.
[in] bstrUserID
The user ID under which to install the partition.
[in] bstrPassword
The password for the specified user.
[in] bstrRSN
The name of a remote server to use as a proxy.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | comadmin.h |