Click to Rate and Give Feedback
MSDN
MSDN Library
Networking
Network Protocols
DNS WMI Provider
DNS WMI Classes
MicrosoftDNS_Zone
 ChangeZoneType Method of the Micros...

  Switch on low bandwidth view
ChangeZoneType Method of the MicrosoftDNS_Zone Class

The ChangeZoneType method changes the type of a zone.

Syntax

MOF
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:

ValueMeaning
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]

RR of type MicrosoftDns_Zone.

Return Value

This method does not return a value.

Requirements

Minimum supported clientNone supported
Minimum supported serverWindows 2000 Server
MOFDnsprov.mof
Namespace\\.\Root\MicrosoftDNS

See Also

MicrosoftDNS_Zone
AgeAllRecords Method of the MicrosoftDNS_Zone Class
CreateZone Method of the MicrosoftDNS_Zone Class
ForceRefresh Method of the MicrosoftDNS_Zone Class
GetDistinguishedName Method of the MicrosoftDNS_Zone Class
PauseZone Method of the MicrosoftDNS_Zone Class
ReloadZone Method of the MicrosoftDNS_Zone Class
ResetSecondaries Method of the MicrosoftDNS_Zone Class
ResumeZone Method of the MicrosoftDNS_Zone Class
UpdateFromDS Method of the MicrosoftDNS_Zone Class
WriteBackZone Method of the MicrosoftDNS_Zone Class

Send comments about this topic to Microsoft

Build date: 5/28/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker