IClusCfgClusterInfo::SetCommitMode method

[This method is available for use only in Windows Server 2003.]

Sets the operation that will be performed when the IClusCfgServer::CommitChanges method is called.

Syntax

HRESULT SetCommitMode(
  [in] ECommitMode ecmNewModeIn
);

Parameters

  • ecmNewModeIn [in]
    Specifies the operation that will be performed the next time IClusCfgServer::CommitChanges is called as one of the following constants.

    Constant Meaning
    cmUNKNOWN 0

    CommitChanges will do nothing.

    cmCREATE_CLUSTER 1

    CommitChanges will form a new cluster on the local node.

    cmADD_NODE_TO_CLUSTER 2

    CommitChanges will add the local node to an existing cluster.

    cmCLEANUP_NODE_AFTER_EVICT 3

    CommitChanges will perform cleanup operations on the local computer.

     

Return value

If the SetCommitMode method successfully sets the operation, it returns S_OK. Any other HRESULT value indicates that the call failed.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of server support

Windows Server 2003

IDL

ClusCfgServer.idl

DLL

ClCfgSrv.dll

IID

IID_IClusCfgClusterInfo is defined as 85B4BBC0-DDC4-4AE7-8268-F4850BB2A6EE

See also

IClusCfgClusterInfo

IClusCfgClusterInfo::GetCommitMode