ChangeZoneType method of the MicrosoftDNS_Zone class
The ChangeZoneType method changes the type of a zone.
Syntax
void ChangeZoneType(
[in] uint32 ZoneType,
[in, optional] string DataFileName,
[in, optional] string IpAddr[],
[in, optional] string AdminEmailName,
[out, ref] MicrosoftDns_Zone &RR
);
Parameters
-
ZoneType [in]
-
Type of zone. Valid values are the following:
Value Meaning - 0
Primary zone. - 1
Secondary zone. - 2
Stub zone. - 3
Zone forwarder. -
DataFileName [in, optional]
-
Name of the data file associated with the zone.
-
IpAddr [in, optional]
-
IP address of the mater DNS Server for the zone.
-
AdminEmailName [in, optional]
-
Email address of the administrator responsible for the zone.
-
RR [out, ref]
-
RR of type MicrosoftDns_Zone.
Return value
This method does not return a value.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Namespace |
Root\MicrosoftDNS |
MOF |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for