Adds a new entry to the list of trusted domains.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Function 
AddTrustedDomain ( _
	
trustedDomainEntry 
As 

TrustedDomain _
) 
As 
Boolean
C#
public 
bool 
AddTrustedDomain(
	

TrustedDomain 
trustedDomainEntry
)
Visual C++
public:
bool 
AddTrustedDomain(
	

TrustedDomain^ 
trustedDomainEntry
)
JavaScript
function 
addTrustedDomain(
trustedDomainEntry);

Parameters

trustedDomainEntry
Type: Microsoft.Rtc.Collaboration . . :: . TrustedDomain
The new entry to be added.

Return Value

Returns True if the entry was added. False, if the entry already exists.

Exceptions

Exception Condition
ArgumentNullException Thrown when the argument passed is null.

See Also