DnsServerScavenging class

Represents scavenging settings on a DNS server.

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("DnsServerPSProvider"), AMENDMENT]
class DnsServerScavenging
{
  datetime ScavengingInterval;
  datetime RefreshInterval;
  datetime NoRefreshInterval;
  boolean  ScavengingState;
  datetime LastScavengeTime;
};

Members

The DnsServerScavenging class has these types of members:

Properties

The DnsServerScavenging class has these properties.

LastScavengeTime

Data type: datetime

Access type: Read-only

The time when the last scavenging cycle was executed.

NoRefreshInterval

Data type: datetime

Access type: Read/write

The time interval for a zone during which no refreshes can dynamically update DNS records in a specified zone.

RefreshInterval

Data type: datetime

Access type: Read/write

The time interval for a zone during which refreshes can dynamically update DNS records in a specified zone.

ScavengingInterval

Data type: datetime

Access type: Read/write

The time span between scavenging cycles.

ScavengingState

Data type: boolean

Access type: Read/write

true to enable the scavenging feature for the DNS server; otherwise, false.

Requirements

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

See also

DnsServerPSProvider Provider