IClusCfgClusterInfo::GetName method

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

Retrieves the name of the cluster to be formed or joined.

Syntax

HRESULT GetName(
  [out] BSTR *pbstrNameOut
);

Parameters

  • pbstrNameOut [out]
    Pointer to a BSTR that receives the cluster name as a fully qualified domain name (for example, "mycluster.microsoft.com"). The caller must free this string by calling SysFreeString.

Return value

The GetName method returns one of the following values.

Any other HRESULT value indicates that the call failed.

  • S_OK.
    Success.

  • E_OUTOFMEMORY
    Out of memory.

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