Domain.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 domain is valid.
public:
void VerifyOutboundTrustRelationship(System::String ^ targetDomainName);
public void VerifyOutboundTrustRelationship (string targetDomainName);
member this.VerifyOutboundTrustRelationship : string -> unit
Public Sub VerifyOutboundTrustRelationship (targetDomainName As String)
Parameters
- targetDomainName
- String
The DNS name of the domain with which the trust exists.
Exceptions
There is no outbound trust relationship with the domain that is specified by targetDomainName
.
A call to the underlying directory service resulted in an error.
The target server is either busy or unavailable.
targetDomainName
is an empty string.
targetDomainName
is null
.
The object has been disposed.
The specified account does not have permission to perform this operation.
Remarks
This method is used to verify that a trust relationship has been fully established. The trust is not established until both sides of the trust have been created.