Edit

Share via


Forest.VerifyOutboundTrustRelationship(String) Method

Definition

Verifies that a previously established outbound trust with the specified forest is valid.

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

Parameters

targetForestName
String

The DNS name of the domain with which the trust exists.

Exceptions

There is no outbound trust relationship with the forest that is specified by targetForestName.

A call to the underlying directory service resulted in an error.

The target server is either busy or unavailable.

targetForestName is an empty string.

targetForestName is null.

The object has been disposed.

The specified account does not have permission to perform this operation.

Applies to

See also