Specifies a contact or distribution group to which this control should be bound.

Namespace:  Microsoft.Lync.Controls
Assembly:  Microsoft.Lync.Controls(in Microsoft.Lync.Controls.dll)

Syntax

C#
public 
Object 
Source { 
get; 
set; }

Remarks

Valid values for this property include:
Type Value
string Search fragment, such as mary
string SIP URI, such as sip:mary@contoso.com
Contact Microsoft.Lync.Model.Contactobject, obtained using the Lync Platform API.
DistributionGroup Microsoft.Lync.Model.Group.DistributionGroupobject, obtained using the Lync Platform API.
These options are shown in increasing order of performance. If a search fragment is used, the control will perform a best-effort match (non-deterministic)

Exceptions

Exception Condition
System . . :: . . ArgumentException Thrown when an invalid object type is provided.

See Also