Forest.UpdateLocalSideOfTrustRelationship メソッド

定義

信頼関係のローカル側のパスワードを更新します。

オーバーロード

UpdateLocalSideOfTrustRelationship(String, String)

信頼関係のローカル側のパスワードを更新します。

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

信頼関係のローカル側のパスワードと信頼の方向を更新します。

UpdateLocalSideOfTrustRelationship(String, String)

ソース:
Forest.cs
ソース:
Forest.cs
ソース:
Forest.cs

信頼関係のローカル側のパスワードを更新します。

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

パラメーター

targetForestName
String

ローカル信頼のパスワードを変更する Forest オブジェクトの名前。

newTrustPassword
String

信頼関係の新しいパスワード。

例外

targetForestName で指定したフォレストとの信頼関係が存在しません。

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

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

targetForestName または newTrustPassword が空の文字列です。

targetForestName または newTrustPasswordnull です。

オブジェクトは破棄されました。

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

こちらもご覧ください

適用対象

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

ソース:
Forest.cs
ソース:
Forest.cs
ソース:
Forest.cs

信頼関係のローカル側のパスワードと信頼の方向を更新します。

public:
 void UpdateLocalSideOfTrustRelationship(System::String ^ targetForestName, System::DirectoryServices::ActiveDirectory::TrustDirection newTrustDirection, System::String ^ newTrustPassword);
public void UpdateLocalSideOfTrustRelationship (string targetForestName, System.DirectoryServices.ActiveDirectory.TrustDirection newTrustDirection, string newTrustPassword);
member this.UpdateLocalSideOfTrustRelationship : string * System.DirectoryServices.ActiveDirectory.TrustDirection * string -> unit
Public Sub UpdateLocalSideOfTrustRelationship (targetForestName As String, newTrustDirection As TrustDirection, newTrustPassword As String)

パラメーター

targetForestName
String

ローカルの信頼の方向とパスワードを変更する必要がある対象の Forest オブジェクトの名前。

newTrustDirection
TrustDirection

信頼関係の新しい信頼方向の TrustDirection 値。

newTrustPassword
String

信頼関係の新しいパスワード。

例外

targetForestName で指定された Forest オブジェクトとの信頼関係が存在しません。

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

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

targetForestName または newTrustPassword が空の文字列です。

targetForestName または newTrustPasswordnull です。

newTrustDirection パラメーターが、有効な TrustDirection 値ではありません。

オブジェクトは破棄されました。

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

こちらもご覧ください

適用対象