DiskPath

Used in some recovery scenarios. If this is set to a disk (for example "H:\") then the Physical Disk resource will take control of that disk as part of the recovery process. The following table summarizes the attributes of the DiskPath property.

AttributeValue
Data typeNull-terminated Unicode string
AccessRead/write
StructureCLUSPROP_SZ
Minimum
MaximumNone (but see Maximum String Size)
Default

 

Examples

The property value portion of a property list entry for DiskPath can be set with the following example code.

WCHAR                szDiskPathData[] = L"H:\\";
CLUSPROP_SZ_DECLARE( DiskPathValue, 
                     sizeof( szDiskPathData ) / sizeof( WCHAR ) );

DiskPathValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
DiskPathValue.cbLength  = sizeof( szDiskPathData );
StringCbCopy( DiskPathValue.sz, 
              DiskPathValue.cbLength, 
              szDiskPathData );

Requirements

Minimum supported clientNone supported
Minimum supported serverWindows Server 2008 Datacenter, Windows Server 2008 Enterprise

See Also

Physical Disk Private Properties
CLUSPROP_SZ

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags :


Page view tracker