語言

Forest.VerifyOutboundTrustRelationship(String) 方法

定義

驗證先前與指定森林建立的出站信託是否有效。

public:
 void VerifyOutboundTrustRelationship(System::String ^ targetForestName);
public void VerifyOutboundTrustRelationship(string targetForestName);
member this.VerifyOutboundTrustRelationship : string -> unit
Public Sub VerifyOutboundTrustRelationship (targetForestName As String)

參數

targetForestName
String

信任所屬網域的 DNS 名稱。

例外狀況

與森林之間沒有由 所指定的 targetForestName外部信任關係。

呼叫底層目錄服務時會發生錯誤。

目標伺服器要麼忙碌,要麼無法使用。

targetForestName 是空字串。

targetForestName 是 null。

該物體已被處理。

指定的帳號沒有執行此操作的權限。

適用於

另請參閱