ContactManager members

The contact manager class is used to add, remove, and update contacts and their properties. The contact manager is also used to access Lync contact list groups.

The ContactManager type exposes the following members.

Constructors

  Name Description
Protected method ContactManager

Top

Properties

  Name Description
Protected property AdviseMap (Inherited from ComObject.)
Public property Groups Returns the group collection.
Public property ScriptObject (Inherited from ScriptWrapper.)

Top

Methods

  Name Description
Protected method AttachEvent(Guid) (Inherited from ComObject.)
Protected method AttachEvent(Object, Guid) (Inherited from ComObject.)
Public method BeginAddGroup(String, AsyncCallback, Object) Adds a new custom group to the group list.
Public method BeginAddGroup(DistributionGroup, AsyncCallback, Object) Adds a distribution group to the group list.
Public method BeginLookup Looks up a contact or a distribution group by entryid, sip address, email address, display name, etc..
Public method BeginRemoveContactFromAllGroups Removes a contact from all groups except distribution groups.
Public method BeginRemoveGroup Removes a group from the group list.
Public method BeginSearch(String, AsyncCallback, Object) Begins to search for contacts or distribution groups matching a specified search string. Results of the search are returned in the System.AsyncCallback you pass in the contactsAndGroupsCallback argument.
Public method BeginSearch(String, SearchProviders, SearchFields, SearchOptions, UInt32, AsyncCallback, Object) Searches for contacts and distribution groups that match the given search criteria.
Public method CreateArray (Inherited from ComObject.)
Public method CreateArrayFromEnum (Inherited from ComObject.)
Protected method CreateEventDispatcher (Inherited from ComObject.)
Public method CreateObjectParameter (Inherited from UCWBase.)
Public method CreateParameters (Inherited from ComObject.)
Public method CreateSubscription Creates a Subscription object that can be used for batching subscriptions or queries.
Protected method DetachEvent (Inherited from ComObject.)
Public method EndAddGroup Adds a new custom group to the group list.
Public method EndLookup Looks up a contact or a distribution group by entryid, sip address, email address, display name, etc..
Public method EndRemoveContactFromAllGroups Removes a contact from all groups except distribution groups.
Public method EndRemoveGroup Removes a group from the group list.
Public method EndSearch Searches for contacts and distribution groups that match the given search criteria.
Protected method EnsureEventAdd(IEnumerable<MulticastDelegate>, Guid) (Inherited from ComObject.)
Protected method EnsureEventAdd(MulticastDelegate, Guid) (Inherited from ComObject.)
Protected method EnsureEventAdd(IEnumerable<MulticastDelegate>, Object, Guid) (Inherited from ComObject.)
Protected method EnsureEventRemove(IEnumerable<MulticastDelegate>, Guid) (Inherited from ComObject.)
Protected method EnsureEventRemove(MulticastDelegate, Guid) (Inherited from ComObject.)
Public method Equals(Object) (Inherited from ComObject.)
Public method Equals(ScriptObject) (Inherited from ScriptWrapper.)
Public method Equals(ScriptWrapper) (Inherited from ScriptWrapper.)
Protected method Finalize (Inherited from UCWBase.)
Public method GetContactByUri Finds or creates a new contact using the contact URI.
Public method GetEnumerator (Inherited from ComObject.)
Public method GetExpertSearchQueryString Gets the search query string used for expert search.
Public method GetHashCode (Inherited from ComObject.)
Public method GetInteropEnumerator (Inherited from ComObject.)
Protected method GetProperty (Inherited from ScriptWrapper.)
Protected method GetPropertyBoolean (Inherited from ScriptWrapper.)
Public method GetPropertyEx (Inherited from ComObject.)
Protected method GetPropertyInt32 (Inherited from ScriptWrapper.)
Protected method GetPropertyScript (Inherited from ScriptWrapper.)
Protected method GetPropertyString (Inherited from ScriptWrapper.)
Public method GetScriptEnumerator (Inherited from ComObject.)
Public method GetSearchFields Gets the supported search fields.
Public method GetSearchProviderID Gets the ID of a search provider.
Public method GetSearchProviderStatus Gets the search provider status.
Public method GetType (Inherited from Object.)
Protected method Invoke (Inherited from ScriptWrapper.)
Public method InvokeEx (Inherited from ComObject.)
Protected method InvokeMethod (Inherited from ScriptWrapper.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PersistAddRef (Inherited from UCWBase.)
Public method PersistRemoveRef (Inherited from UCWBase.)
Public method SetPersistence (Inherited from UCWBase.)
Protected method SetProperty (Inherited from ScriptWrapper.)
Public method SetPropertyEx (Inherited from ComObject.)
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event GroupAdded Occurs when a group is added.
Public event GroupRemoved Occurs when a group is removed.
Public event SearchProviderStateChanged Occurs when the status of a search provider changes.

Top

See also

Reference

ContactManager class

Microsoft.Lync.Model namespace