Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the path to the DHCP backup file. The following table summarizes the attributes of the BackupPath property.
Attribute | Value |
---|---|
Data type | Null-terminated Unicode string |
Access | Read/write |
Status | Required |
Structure | CLUSPROP_SZ |
Maximum | None (but see Maximum Property Size.) |
Default | The DHCP BackupPath property defaults to a value of the form drive:\old path where drive is the drive letter of the Physical Disk dependency and old path is the former path to the DHCP backup file. For example, if a DHCP Service resource depends on drive K: and the former path was C:\WinNT\System32\dhcp, the default for this property will be K:\WinNT\System32\dhcp. |
Remarks
The DHCP backup path does not include a file name or a trailing backslash.
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 BackupPath can be set with the following example code.
WCHAR szBackupPathData[] = L"\\\\DHCP\\BackupDirectory";
CLUSPROP_SZ_DECLARE( BackupPathValue,
sizeof( szBackupPathData ) / sizeof( WCHAR ) );
BackupPathValue.Syntax.dw = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
BackupPathValue.cbLength = sizeof( szBackupPathData );
StringCbCopy( BackupPathValue.sz,
BackupPathValue.cbLength,
szBackupPathData );
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter |