Language

Forest.UpdateLocalSideOfTrustRelationship メソッド

定義

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

オーバーロード

Name 説明
UpdateLocalSideOfTrustRelationship(String, String)

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

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

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

UpdateLocalSideOfTrustRelationship(String, String)

ソース:
Forest.cs
ソース:
Forest.cs
ソース:
Forest.cs
ソース:
Forest.cs
ソース:
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 または newTrustPassword が null。

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

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

関連項目

適用対象

UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)

ソース:
Forest.cs
ソース:
Forest.cs
ソース:
Forest.cs
ソース:
Forest.cs
ソース:
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

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

例外

Forestで指定されたtargetForestName オブジェクトとの信頼関係はありません。

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

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

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

targetForestName または newTrustPassword が null。

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

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

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

関連項目

適用対象