IServicePartitionConfig::PartitionID method (comsvcs.h)

Sets the GUID for the partition that is used for the enclosed work.

Syntax

HRESULT PartitionID(
  [in] REFGUID guidPartitionID
);

Parameters

[in] guidPartitionID

A GUID that is used to specify the partition that is to be used to run the enclosed work.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_FAIL, and S_OK.

Requirements

Requirement Value
Minimum supported client Windows XP with SP1 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IServicePartitionConfig