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

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

Domain.SetSelectiveAuthenticationStatus メソッド

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

着信側の信頼の選択的な認証を有効または無効にします。

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

Public Sub SetSelectiveAuthenticationStatus
 ( _
    targetDomainName As String, _
    enable As Boolean _
)
Dim instance As Domain
Dim targetDomainName As String
Dim enable As Boolean

instance.SetSelectiveAuthenticationStatus(targetDomainName, enable)
public void SetSelectiveAuthenticationStatus
 (
    string targetDomainName,
    bool enable
)
public:
void SetSelectiveAuthenticationStatus (
    String^ targetDomainName, 
    bool enable
)
public void SetSelectiveAuthenticationStatus
 (
    String targetDomainName, 
    boolean enable
)
public function SetSelectiveAuthenticationStatus
 (
    targetDomainName : String, 
    enable : boolean
)

パラメータ

targetDomainName

着信側の信頼が存在する相手のドメインの DNS 名。

enable

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

例外例外
例外の種類条件

ActiveDirectoryObjectNotFoundException

targetDomainName で指定されたドメイン コントローラとの信頼関係が存在しません。

ActiveDirectoryOperationException

基になるディレクトリ サービスの呼び出しでエラーが発生しました。

ActiveDirectoryServerDownException

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

ArgumentException

targetDomainName が空の文字列です。

ArgumentNullException

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

ObjectDisposedException

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

UnauthorizedAccessException

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

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「Domain.SetSelectiveAuthenticationStatus メソッド」の関連用語

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

   

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



Domain.SetSelectiveAuthenticationStatus メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS