DhcpServerDatabase class

Dhcp Server Database Configuration.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DhcpServerPSProvider"), AMENDMENT]
class DhcpServerDatabase
{
  string  FileName;
  string  BackupPath;
  uint32  BackupInterval;
  uint32  CleanupInterval;
  boolean LoggingEnabled;
  boolean RestoreFromBackup;
};

Members

The DhcpServerDatabase class has these types of members:

Properties

The DhcpServerDatabase class has these properties.

BackupInterval

Data type: uint32

Access type: Read/write

Periodicity of automatic database backup (in minutes).

BackupPath

Data type: string

Access type: Read/write

Automatic database backup path.

CleanupInterval

Data type: uint32

Access type: Read/write

Periodicity of database cleanup (in minutes).

FileName

Data type: string

Access type: Read/write

Fully qualified JET Database file name.

LoggingEnabled

Data type: boolean

Access type: Read/write

Indicates if logging is enabled for Dhcp database.

RestoreFromBackup

Data type: boolean

Access type: Read/write

Database restore flag - Server will restore the database from the back-up database when the service is restarted.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll