ContactManager.BeginRemoveContactFromAllGroups method

Removes a contact from all groups except distribution groups.

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

Syntax

'Declaration
Public Function BeginRemoveContactFromAllGroups ( _
    contact As Contact, _
    contactsAndGroupsCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As ContactManager
Dim contact As Contact
Dim contactsAndGroupsCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginRemoveContactFromAllGroups(contact, _
    contactsAndGroupsCallback, state)
public IAsyncResult BeginRemoveContactFromAllGroups(
    Contact contact,
    AsyncCallback contactsAndGroupsCallback,
    Object state
)

Parameters

Return value

Type: System.IAsyncResult

See also

Reference

ContactManager class

ContactManager members

Microsoft.Lync.Model namespace