Forest.VerifyOutboundTrustRelationship(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.