StartScavenging method of the MicrosoftDNS_Server class

The StartScavenging method starts scavenging stale records in the zones subjected to scavenging.

Syntax

uint32 StartScavenging();

Parameters

This method has no parameters.

Return value

ERROR_SUCCESS indicates the scavenging was successfully started. Any other value is an error code.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows 2000 Server [desktop apps only]
Namespace
Root\MicrosoftDNS
MOF
Dnsprov.mof

See also

MicrosoftDNS_Server

StartService Method of the MicrosoftDNS_Server Class

StopService Method of the MicrosoftDNS_Server Class

GetDistinguishedName Method of the MicrosoftDNS_Server Class