ICOMAdminCatalog2::GetPartitionName method (comadmin.h)
Retrieves the name of the specified COM+ application.
Syntax
HRESULT GetPartitionName(
[in] BSTR bstrApplicationIDOrName,
[out, retval] BSTR *pbstrPartitionName
);
Parameters
[in] bstrApplicationIDOrName
The application ID or name of a COM+ application.
[out, retval] pbstrPartitionName
The partition name 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 |