Use Microsoft Lync 2010 SDK classes to launch and automate the Microsoft Lync 2010 user interface, integrated within third-party business applications. Use Lync Controls to integrate specific features like presence, contact cards, or search into business applications.

Notable classes and members relating to extensibility appear in the following sections. For a full list, see Lync 2010 API Class Library documentation.

Automation Class

A third-party application can use UI Automation to create conversations and dock the conversation window in the business application. Use the Automation class to start or join conversations and take advantage of the features built into Lync 2010. The Automation class is found in the Lync.Model.Extensibility namespace and is obtained from the static LyncClient class with a call into the GetAutomation method.

The Automation class provides basic automation functionality for applications designed to capitalize on the features available in Lync 2010. After adding a minimal amount of code, the application can then start a conversation, share a desktop application, or join a conference. You can dock a conversation window created and maintained by Lync 2010 within your application.

UI Automation launches the Lync 2010 conversation window. You can resize or move the conversation window on the local computer screen. The Automation class includes the following methods.




Returns the conversation window.


Adds a person or group to a contact list.


Starts a conversation or joins a conference.


Completes the asynchronous start of a conversation.

ConversationWindow Class

With the ConversationWindow class, you specify the docking behavior, size, and location of a window opened by Lync 2010. The ConversationWindow class includes the following methods and properties.




Begins to asynchronously launch the given URL in the conversation extension window.


Closes the window.


Docks the window to the specified parent.


Completes the asynchronous launch of the conversation extension window.


Flashes the frame of the extensibility window to indicate attention is needed.


Moves and resized the window to the specified coordinates and dimensions.


Moves the window to the specified coordinates.


Undocks the window from any parent.




Gets the underlying Conversation instance.


Gets the height of the conversation window.


Returns a Boolean indicating whether the window is docked.

ConversationWindow . . :: . . Left

Gets the coordinate of the left edge of the conversation window, in pixels.

ConversationWindow . . :: . . Top

Gets the coordinate of the top edge of the conversation window, in pixels.

ConversationWindow . . :: . . Width

Gets the width of the conversation window, in pixels.

LyncClient Class

Use the LyncClient . . :: . . GetAutomation method of the Microsoft.Lync.Model . . :: . . LyncClient class to return a Microsoft.Lync.Model.Extensibility . . :: . . Automation object. For more information, see LyncClient Class .