DHCP_SERVER_CONFIG_INFO structure (dhcpsapi.h)
The DHCP_SERVER_CONFIG_INFO structure defines the data used to configure the DHCP server.
Syntax
typedef struct _DHCP_SERVER_CONFIG_INFO {
DWORD APIProtocolSupport;
LPWSTR DatabaseName;
LPWSTR DatabasePath;
LPWSTR BackupPath;
DWORD BackupInterval;
DWORD DatabaseLoggingFlag;
DWORD RestoreFlag;
DWORD DatabaseCleanupInterval;
DWORD DebugFlag;
} DHCP_SERVER_CONFIG_INFO, *LPDHCP_SERVER_CONFIG_INFO;
Members
APIProtocolSupport
Specifies a set of bit flags that contain the RPC protocols supported by the DHCP server.
DatabaseName
Unicode string that specifies the file name of the client lease JET database.
DatabasePath
Unicode string that specifies the absolute path to DatabaseName.
BackupPath
Unicode string that specifies the absolute path and file name of the backup client lease JET database.
BackupInterval
Specifies the interval, in minutes, between backups of the client lease database.
DatabaseLoggingFlag
Specifies a bit flag that indicates whether or not database actions should be logged.
Value | Meaning |
---|---|
|
All database operations will be logged. |
RestoreFlag
Specifies a bit flag that indicates whether or not a database restore operation should be performed.
Value | Meaning |
---|---|
|
The client lease database should be restored from the path and file specified in BackupPath. |
DatabaseCleanupInterval
Specifies the interval, in minutes, between cleanup operations performed on the client lease database.
DebugFlag
Reserved. This field should be set to 0x00000000.
Requirements
Requirement | Value |
---|---|
Minimum supported server | Windows Server 2003 |
Header | dhcpsapi.h |