IClusCfgResourceCreate::SetPropertyString method

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

Sets a string property for a resource being configured by IClusCfgManagedResourceCfg.

Syntax

HRESULT SetPropertyString(
  [in] LPCWSTR pcszNameIn,
  [in] LPCWSTR pcszStringIn
);

Parameters

  • pcszNameIn [in]
    Null-terminated Unicode string containing the property name.

  • pcszStringIn [in]
    Null-terminated Unicode string containing the property value.

Return value

If the SetPropertyString method succeeds, it returns S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

For a list of common resource properties see Resource Common Properties.

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_IClusCfgResourceCreate is defined as 0647B41A-C777-443c-9432-02CCCF4FF443

See also

IClusCfgResourceCreate