CollaborationPlatform.AddTrustedDomain Method
Adds a new entry into the list of trusted domains.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function AddTrustedDomain ( _
trustedDomainEntry As TrustedDomain _
) As Boolean
'Usage
Dim instance As CollaborationPlatform
Dim trustedDomainEntry As TrustedDomain
Dim returnValue As Boolean
returnValue = instance.AddTrustedDomain(trustedDomainEntry)
public bool AddTrustedDomain(
TrustedDomain trustedDomainEntry
)
Parameters
- trustedDomainEntry
Type: Microsoft.Rtc.Collaboration.TrustedDomain
The new entry to be added.
Return Value
Type: System.Boolean
Returns True if the entry was added. False, if the entry already exists.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the argument passed is null. |
Remarks
For auto-provisioned platforms all the trusted servers in the topology are automatically added to this list.