Domain.GetSelectiveAuthenticationStatus(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
決定入站信任的認證類型。
public:
bool GetSelectiveAuthenticationStatus(System::String ^ targetDomainName);
public bool GetSelectiveAuthenticationStatus(string targetDomainName);
member this.GetSelectiveAuthenticationStatus : string -> bool
Public Function GetSelectiveAuthenticationStatus (targetDomainName As String) As Boolean
參數
- targetDomainName
- String
與信任相關的網域名稱。
傳回
true 如果信託的認證具有選擇性; false 如果認證是整個網域的。
例外狀況
與參數所指定的 Forest 不targetDomainName存在信任關係。
LsaQueryTrustedDomainInfoByName但打電話失敗了。 欲了解更多資訊,請參閱 LsaQueryTrustedDomainInfoByName。
目標伺服器要麼忙碌,要麼無法使用。
targetDomainName 是空字串。
targetDomainName 是 null。
目前的物體已被處理。
指定的帳號沒有執行此操作的權限。