IClusCfgManagedResourceInfo::SetManagedByDefault method

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

The SetManagedByDefault method sets the resource to be managed by the cluster by default.

Syntax

HRESULT SetManagedByDefault(
  [in] BOOL fIsManagedByDefaultIn
);

Parameters

  • fIsManagedByDefaultIn [in]
    If TRUE, the resource will be managed by the cluster by default.

    If TRUE is passed in for this parameter, a cluster resource will be created for this device by default when performing a full configuration.

Return value

If the SetManagedByDefault method successfully sets the resource, 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

IID

IID_IClusCfgManagedResourceInfo is defined as 8389D687-DF99-442B-81AB-58BA5B029688

See also

IClusCfgManagedResourceInfo