Partager via


DnsServerZoneAging class

Manages aging settings for a DNS zone.

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 DnsServerZoneAging
{
  string   ZoneName;
  boolean  AgingEnabled;
  datetime AvailForScavengeTime;
  datetime RefreshInterval;
  datetime NoRefreshInterval;
  string   ScavengeServers[];
};

Members

The DnsServerZoneAging class has these types of members:

Properties

The DnsServerZoneAging class has these properties.

AgingEnabled

Data type: boolean

Access type: Read/write

true to enable aging in the zone; otherwise, false.

AvailForScavengeTime

Data type: datetime

Access type: Read-only

The duration in which scavenging of stale DNS records is possible for the zone.

NoRefreshInterval

Data type: datetime

Access type: Read/write

The time interval that indicates when refresh operations can not be used to dynamically update DNS records in the zone.

RefreshInterval

Data type: datetime

Access type: Read/write

The time interval that indicates when refresh operations can be used to dynamically update DNS records in the zone.

ScavengeServers

Data type: string array

Access type: Read/write

An array that contains the names of the servers in the zone that perform scavenging.

ZoneName

Data type: string

Access type: Read/write

The name of the zone.

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