ClusPartition.Flags property

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

Returns the flags set for a storage class resource partition.

This property is read-only.

Syntax

ClusPartition.Flags

Property value

Long that receives the flags of the storage class resource, enumerated by the CLUSPROP_PIFLAGS enumeration.

CLUSPROP_PIFLAG_STICKY (0x00000001)

The drive letter is sticky.

CLUSPROP_PIFLAG_REMOVABLE (0x00000002)

The storage class resource is removable.

CLUSPROP_PIFLAG_USABLE (0x00000004)

The storage class resource is formatted with a file system that is usable by the Cluster service.

CLUSPROP_PIFLAG_DEFAULT_QUORUM (0x00000008)

The partition should be used to store quorum files if no partition is specified in the SetClusterQuorumResource function. For Physical Disk resources, the smallest NTFS partition larger than 50MB automatically receives this flag.

Remarks

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_ISClusPartition is defined as F2E60720-2631-11D1-89F1-00A0C90D061E

See also

ClusPartition

CLUSPROP_PIFLAGS