Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the partition identifier for the specified COM+ application.
Syntax
HRESULT GetPartitionID(
[in] BSTR bstrApplicationIDOrName,
[out, retval] BSTR *pbstrPartitionID
);
Parameters
[in] bstrApplicationIDOrName
The application ID or name of a COM+ application.
[out, retval] pbstrPartitionID
The partition GUID associated with the specified application.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following values.
Return code | Description |
---|---|
|
The method completed successfully. |
|
The named application exists in multiple partitions. To avoid this error, use an application ID instead of a name. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | comadmin.h |