Compartilhar via


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