Share via


ContactManager.GetContactByUri Method

Finds or creates a new contact using the contact URI. The URI can be a SIP address or a phone number.

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

Syntax

'Declaration
Public Function GetContactByUri ( _
    contactUri As String _
) As Contact
'Usage
Dim instance As ContactManager
Dim contactUri As String
Dim returnValue As Contact

returnValue = instance.GetContactByUri(contactUri)
public Contact GetContactByUri(
    string contactUri
)

Parameters

Return Value

Type: Microsoft.Lync.Model.Contact

See Also

Reference

ContactManager Class

ContactManager Members

Microsoft.Lync.Model Namespace