MSCluster_ResourceType class
The MSCluster_ResourceType class is a dynamic WMI class that represents a resource type.
The following syntax is simplified from MOF code and includes all inherited properties.
Syntax
[Dynamic, Provider ("MS_CLUSTER_PROVIDER"), UUID ("{2F2EF49D-37DD-47c2-8328-6586142B8C99}")]class MSCluster_ResourceType : MSCluster_LogicalElement
{
string Caption;
datetime InstallDate;
string Status;
uint32 Flags;
uint32 Characteristics;
string Name;
string DisplayName;
string Description;
string AdminExtensions[];
string DllName;
uint32 IsAlivePollInterval;
uint32 LooksAlivePollInterval;
boolean QuorumCapable;
boolean LocalQuorumCapable;
boolean DeleteRequiresAllNodes;
uint32 DeadlockTimeout;
uint32 PendingTimeout;
MSCluster_Property PrivateProperties;
};
Members
The MSCluster_ResourceType class has these types of members:
Methods
The MSCluster_ResourceType class has these methods.
| Method | Description |
|---|---|
| CreateResourceType |
Creates a resource type. |
| DeleteResourceType |
Deletes a resource type.
|
| ExecuteResourceTypeControl |
Executes a control code on the resource type.
|
Properties
The MSCluster_ResourceType class has these properties.
- AdminExtensions
-
- Data type: string array
- Access type: Read/write
Provides the class identifiers (CLSIDs) for the Cluster Administrator extension DLLs that are associated with the resource type.
- Caption
-
- Data type: string
- Access type: Read-only
Provides a short textual description of the resource type.
Inherited from MSCluster_LogicalElement.
- Characteristics
-
- Data type: uint32
- Access type: Read/write
Provides access to the characteristics set for the resource type. For a list of possible characteristics, see CLUSCTL_RESOURCE_TYPE_GET_CHARACTERISTICS..
Inherited from MSCluster_LogicalElement.
- DeadlockTimeout
-
- Data type: uint32
- Access type: Read/write
The length of time to wait, in milliseconds, before declaring a deadlock in any call into a resource.
Windows Server 2003:This property is not supported.
- DeleteRequiresAllNodes
-
- Data type: boolean
- Access type: Read-only
The resource cannot be deleted unless all nodes are active.
- Description
-
- Data type: string
- Access type: Read/write
Provides access to the resource type's Description property.
Inherited from MSCluster_LogicalElement.
- DisplayName
-
- Data type: string
- Access type: Read/write
Provides access to the resource type's Name property, which is the name displayed for the resource type.
- DllName
-
- Data type: string
- Access type: Read-only
Provides access to the resource type's DllName property, which is the name of the dynamic-link library (DLL) for the resource type.
- Flags
-
- Data type: uint32
- Access type: Read/write
Provides access to the flags set for the resource type. For a list of possible characteristics, see CLUSCTL_RESOURCE_TYPE_GET_FLAGS.
Inherited from MSCluster_LogicalElement.
- InstallDate
-
- Data type: datetime
- Access type: Read-only
Indicates when the resource type was installed. A lack of a value does not indicate that the resource type is not installed.
Inherited from MSCluster_LogicalElement.
- IsAlivePollInterval
-
- Data type: uint32
- Access type: Read/write
Provides access to the resource type's IsAlivePollInterval property, which is the recommended interval in milliseconds at which the Cluster Service should poll the resource to determine whether it is operational.
- LocalQuorumCapable
-
- Data type: boolean
- Access type: Read/write
This property is not supported.
Windows Server 2003:The resource can be selected as the quorum resource in clusters configured using the -localquorum switch.
- LooksAlivePollInterval
-
- Data type: uint32
- Access type: Read/write
Provides access to the resource type's LooksAlivePollInterval property, which is the recommended interval in milliseconds at which the Cluster Service should poll the resource to determine whether it appears operational.
- Name
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key
Provides the name of the resource type.
Inherited from MSCluster_LogicalElement.
- PendingTimeout
-
- Data type: uint32
- Access type: Read/write
If a resource cannot be brought online or taken offline in the number of milliseconds specified by this property, the resource is forcibly terminated.
Windows Server 2003:This property is not supported.
- PrivateProperties
-
- Data type: MSCluster_Property
- Access type: Read/write
Private properties of the resource type.
Windows Server 2003:This property is not supported.
- QuorumCapable
-
- Data type: boolean
- Access type: Read/write
The resource can be selected as the quorum resource for the cluster.
- Status
-
- Data type: string
- Access type: Read-only
Indicates the current status of the resource type.
Inherited from MSCluster_LogicalElement.
Remarks
The MSCluster_ResourceType class is derived from the MSCluster_LogicalElement class.
Requirements
|
Minimum supported client | None supported [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 Datacenter, Windows Server 2003 Enterprise [desktop apps only] |
|
Namespace |
\\.\Root\MSCluster |
|
MOF |
|
See also
Send comments about this topic to Microsoft
Build date: 11/28/2012