Forest.GetSelectiveAuthenticationStatus メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Forest.GetSelectiveAuthenticationStatus メソッドの意味・解説 

Forest.GetSelectiveAuthenticationStatus メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

指定されたフォレストとの着信方向の信頼関係で、認証の選択が有効になっているかどうかを示すブール値を取得します。認証の選択が有効な場合、true です。それ以外の場合は false です。詳細については、「解説」を参照してください。

名前空間: System.DirectoryServices.ActiveDirectory
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文構文

Public Function GetSelectiveAuthenticationStatus
 ( _
    targetForestName As String _
) As Boolean
Dim instance As Forest
Dim targetForestName As String
Dim returnValue As Boolean

returnValue = instance.GetSelectiveAuthenticationStatus(targetForestName)
public bool GetSelectiveAuthenticationStatus
 (
    string targetForestName
)
public:
bool GetSelectiveAuthenticationStatus (
    String^ targetForestName
)
public boolean GetSelectiveAuthenticationStatus (
    String targetForestName
)
public function GetSelectiveAuthenticationStatus
 (
    targetForestName : String
) : boolean

パラメータ

targetForestName

着信側の信頼関係が存在する相手の Forest の DNS 名。

戻り値
選択的な認証を有効にする場合は true。それ以外の場合は false。

例外例外
例外の種類条件

ActiveDirectoryObjectNotFoundException

targetForestName で指定される Forest との信頼関係は存在しません。

ActiveDirectoryOperationException

LsaQueryTrustedDomainInfoByName の呼び出しに失敗しました。詳細については、MSDN ライブラリ (http://msdn.microsoft.com/library) の「LsaQueryTrustedDomainInfoByName」を参照してください。

ActiveDirectoryServerDownException

ターゲット サーバーがビジー状態か、利用できません。

ArgumentException

targetForestName が空の文字列です。

ArgumentNullException

targetForestName が null 参照 (Visual Basic では Nothing) です。

ObjectDisposedException

現在のオブジェクトは破棄されています。

UnauthorizedAccessException

指定されたアカウントには、この操作を実行するためのアクセス許可がありません。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Forest クラス
Forest メンバ
System.DirectoryServices.ActiveDirectory 名前空間
Forest.SetSelectiveAuthenticationStatus
その他の技術情報
方法 : 信頼を使用する



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「Forest.GetSelectiveAuthenticationStatus メソッド」の関連用語

Forest.GetSelectiveAuthenticationStatus メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Forest.GetSelectiveAuthenticationStatus メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS