Share via


Path

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

Indicates the default location for the quorum files on the local quorum device. The following table summarizes the attributes of the Path property.

Attribute Value
Data type Null-terminated Unicode string
Access Read/write
Status Optional
Structure CLUSPROP_SZ
Maximum None (but see Maximum Property Size.)
Default NULL

Remarks

The CLUSPROP_SZ_DECLARE macro creates a CLUSPROP_SZ structure with an array of the correct size.

Examples

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

WCHAR szPathData[] = L"G:\\ShareDirectory";
CLUSPROP_SZ_DECLARE( PathValue, 
                     sizeof( szPathData ) / sizeof( WCHAR ) );

PathValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
PathValue.cbLength  = sizeof( szPathData );
StringCbCopy( PathValue.sz, 
              PathValue.cbLength, 
              szPathData );

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise
End of server support
Windows Server 2003 Datacenter, Windows Server 2003 Enterprise