Partager via


CreateResourceType method of the MSCluster_ResourceType class

Creates a resource type.

Syntax

void CreateResourceType(
  [in] string Name,
  [in] string DisplayName,
  [in] string DLLName,
  [in] uint32 LooksAlivePollInterval,
  [in] uint32 IsAlivePollInterval
);

Parameters

Name [in]

The name of the resource type.

DisplayName [in]

The display name of the resource type.

DLLName [in]

The fully qualified name of the resource DLL for the resource type.

LooksAlivePollInterval [in]

The default value (in milliseconds) to be used as the poll interval needed by the new resource type's LooksAlive function.

IsAlivePollInterval [in]

Default value (in milliseconds) to be used as the poll interval needed by the new resource type's IsAlive function.

Return value

This method does not return a value.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_ResourceType