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