Compartir a través de


ClusPropertyValue.Type property

[The Type property is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Returns or sets the type of a property value.

This property is read-only.

Syntax

ClusPropertyValue.Type

Property value

Long describing the type of the property value. MsClus.h defines the following types, enumerated in the CLUSTER_PROPERTY_TYPE enumeration.

CLUSPROP_TYPE_DISK_NUMBER (7)

Describes the number value of a disk resource. A disk number value is represented by a CLUSPROP_DISK_NUMBER structure.

CLUSPROP_TYPE_DISK_SERIALNUMBER (10)

Describes the serial number of a disk resource.

CLUSPROP_TYPE_DISK_GUID (11)

Describes the GUID of a disk resource.

CLUSPROP_TYPE_DISK_SIZE (12)

TBD

CLUSPROP_TYPE_ENDMARK (0)

Designates the data value as the last entry in a property or value list.

CLUSPROP_TYPE_LIST_VALUE (1)

Describes a data value in a property list. For example, in the property list passed to a control code function for a property validation operation, CLUSPROP_TYPE_LIST_VALUE is the required type to be included with each property value.

CLUSPROP_TYPE_NAME (4)

Describes a data value used as a name, such as a property name. A name value is represented by a CLUSPROP_PROPERTY_NAME structure.

CLUSPROP_TYPE_PARTITION_INFO (8)

Describes a collection of information about a disk resource, such as its device name and volume label. Partition data is represented by a CLUSPROP_PARTITION_INFO structure.

CLUSPROP_TYPE_PARTITION_INFO_EX (13)

Describes a collection of information about a disk resource, such as its device name and volume label. Partition data is represented by a CLUSPROP_PARTITION_INFO_EX structure.

CLUSPROP_TYPE_RESCLASS (2)

Describes resource class information. A resource class value is described with a CLUSPROP_RESOURCE_CLASS structure.

Resource classes are returned when an application calls ClusterResourceControl or ClusterResourceTypeControl with one of the following control codes.

CLUSPROP_TYPE_SCSI_ADDRESS (6)

Describes an Address property for an IP Address resource. A SCSI address value is represented by a CLUSPROP_SCSI_ADDRESS structure.

CLUSPROP_TYPE_SIGNATURE (5)

Describes a Signature property for a disk resource. A signature value is represented by a CLUSPROP_DISK_SIGNATURE structure.

CLUSPROP_TYPE_UNKNOWN (-1)

The property value type is unknown.

CLUSPROP_TYPE_USER (32768)

Describes the beginning of the range for users to define their own types. Associate this type with user-defined private properties.

Remarks

The Type property corresponds to the wType member of a CLUSPROP_SYNTAX union.

For information on making constants defined by the Cluster Automation Server type library (MsClus.tlb) available to scripts, see Creating a Cluster Automation Server Script.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header
MsClus.h
IDL
MsClus.idl
Type library
MsClus.tlb
DLL
MsClus.dll
IID
IID_ISClusPropertyValue is defined as F2E6071A-2631-11D1-89F1-00A0C90D061E

See also

ClusPropertyValue

ClusPropertyValue.Format

CLUSPROP_SYNTAX

CLUSTER_PROPERTY_TYPE