IClusCfgResourceCreate::SetPropertyLong method

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

Sets a long integer property for a resource being configured by IClusCfgManagedResourceCfg.

Syntax

HRESULT SetPropertyLong(
  [in]       LPCWSTR pcszNameIn,
  [in] const LONG    lLongIn
);

Parameters

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

  • lLongIn [in]
    Long integer specifying the property value.

Return value

If the SetPropertyLong 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