Forest.UpdateLocalSideOfTrustRelationship Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Aktualizacje hasło dla lokalnej strony relacji zaufania.
Przeciążenia
| UpdateLocalSideOfTrustRelationship(String, String) |
Aktualizacje hasło dla lokalnej strony relacji zaufania. |
| UpdateLocalSideOfTrustRelationship(String, TrustDirection, String) |
Aktualizacje hasło i kierunek zaufania dla lokalnej strony relacji zaufania. |
UpdateLocalSideOfTrustRelationship(String, String)
- Źródło:
- Forest.cs
- Źródło:
- Forest.cs
- Źródło:
- Forest.cs
Aktualizacje hasło dla lokalnej strony relacji zaufania.
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)
Parametry
- targetForestName
- String
Nazwa Forest obiektu, dla którego ma zostać zmienione hasło zaufania lokalnego.
- newTrustPassword
- String
Nowe hasło dla relacji zaufania.
Wyjątki
Nie ma relacji zaufania z lasem określonym przez targetForestNameparametr .
Wywołanie podstawowej usługi katalogowej spowodowało błąd.
Serwer docelowy jest zajęty lub niedostępny.
targetForestName lub newTrustPassword jest pustym ciągiem.
targetForestName lub newTrustPassword ma wartość null.
Obiekt został usunięty.
Określone konto nie ma uprawnień do wykonania tej operacji.
Zobacz też
Dotyczy
UpdateLocalSideOfTrustRelationship(String, TrustDirection, String)
- Źródło:
- Forest.cs
- Źródło:
- Forest.cs
- Źródło:
- Forest.cs
Aktualizacje hasło i kierunek zaufania dla lokalnej strony relacji zaufania.
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)
Parametry
- targetForestName
- String
Nazwa Forest obiektu, dla którego należy zmienić kierunek zaufania lokalnego i hasło.
- newTrustDirection
- TrustDirection
Wartość TrustDirection nowego kierunku zaufania dla relacji zaufania.
- newTrustPassword
- String
Nowe hasło dla relacji zaufania.
Wyjątki
Nie ma relacji zaufania z obiektem Forest określonym przez targetForestNameelement .
Wywołanie podstawowej usługi katalogowej spowodowało błąd.
Serwer docelowy jest zajęty lub niedostępny.
targetForestName lub newTrustPassword jest pustym ciągiem.
targetForestName lub newTrustPassword ma wartość null.
Parametr newTrustDirection nie jest prawidłową TrustDirection wartością.
Obiekt został usunięty.
Określone konto nie ma uprawnień do wykonania tej operacji.