MicrosoftDNS_Zone 类的 ResetSecondaries 方法

ResetSecondaries 方法重置区域中辅助 DNS 服务器的 IP 地址。

语法

void ResetSecondaries(
  [in]       string            SecondaryServers[],
  [in]       uint32            SecureSecondaries,
  [in]       string            NotifyServers[],
  [in]       uint32            Notify,
  [out, ref] MicrosoftDns_Zone &RR
);

参数

SecondaryServers [in]

辅助 DNS 服务器的 IP 地址数组。

SecureSecondaries [in]

指定要应用的安全性,并且必须是下列值之一:

  • ZONE_SECSECURE_NO_SECURITY
  • ZONE_SECSECURE_NS_ONLY
  • ZONE_SECSECURE_LIST_ONLY
  • ZONE_SECSECURE_NO_XFR

NotifyServers [in]

区域更改时要通知的 DNS 服务器的 IP 地址。

通知 [in]

通知设置 和 必须是下列项之一:

  • ZONE_NOTIFY_OFF
  • ZONE_NOTIFY_ALL_SECONDARIES
  • ZONE_NOTIFY_LIST_ONLY

RR [out, ref]

MicrosoftDNS_Zone 类型的 RR。

返回值

此方法不返回值。

要求

要求
最低受支持的客户端
无受支持的版本
最低受支持的服务器
Windows 2000 Server [仅限桌面应用]
命名空间
Root\MicrosoftDNS
MOF
Dnsprov.mof

另请参阅

MicrosoftDNS_Zone

MicrosoftDNS_Zone 类的 AgeAllRecords 方法

MicrosoftDNS_Zone 类的 ChangeZoneType 方法

MicrosoftDNS_Zone 类的 CreateZone 方法

MicrosoftDNS_Zone 类的 ForceRefresh 方法

MicrosoftDNS_Zone 类的 GetDistinguishedName 方法

MicrosoftDNS_Zone 类的 PauseZone 方法

MicrosoftDNS_Zone 类的 ReloadZone 方法

MicrosoftDNS_Zone 类的 ResumeZone 方法

MicrosoftDNS_Zone 类的 UpdateFromDS 方法

MicrosoftDNS_Zone 类的 WriteBackZone 方法