

in the Office 365 version of lync client, the more options menu item is actually a button (moreOptionsMenuItem.GetCurrentPattern(ExpandCollapsePattern.Pattern) as ExpandCollapsePattern).Expand() Įlse if (GetAutomationElement(conversationWindowElement, out moreOptionsMenuItem, "More options", ControlType.Button)) If (GetAutomationElement(conversationWindowElement, out moreOptionsMenuItem, "More options", ControlType.MenuItem)) Var conversationWindowElement = AutomationElement.FromHandle() bool EndMeeting(ConversationWindow window) Here is a example method for using windows automation to click the End Meeting button. If you really want to do this programmatically then you will need to use something like Windows Automation to select the "More options" button then then select the "End Meeting" button. There is no documented API to "End Meeting". The "End" method just leave the conference call as you say.
