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
StartService Method of the MicrosoftDNS_Server Class
StopService Method of the MicrosoftDNS_Server Class
GetDistinguishedName Method of the MicrosoftDNS_Server Class
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
