StartService method of the MicrosoftDNS_Server class

The StartService method starts the DNS Server.

Syntax

uint32 StartService();

Parameters

This method has no parameters.

Return value

ERROR_SUCCESS indicates the service 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

StopService Method of the MicrosoftDNS_Server Class

StartScavenging Method of the MicrosoftDNS_Server Class

GetDistinguishedName Method of the MicrosoftDNS_Server Class