StopService method of the MicrosoftDNS_Server class

The StopService method stops the DNS Server.

Syntax

uint32 StopService();

Parameters

This method has no parameters.

Return value

ERROR_SUCCESS indicates the service was successfully stopped. 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

StartScavenging Method of the MicrosoftDNS_Server Class

GetDistinguishedName Method of the MicrosoftDNS_Server Class