Cookie CSS

Saturday, September 5, 2015

Schedule a Meeting using the Lync Client SDK

Continuing on with the Lync client SDK, today we look at a simple but important task, scheduling a Skype4b/Lync meeting.  We've all see the icon glaring at us in our Outlook ribbon, but what if I don't want to click it and fill out the too.  What if I want to auto fill the 20 attendees programatically.  Well the good news is, this task is pretty simple using the Lync client SDK.



We will use the Utilities sections of the LyncClient object to perform this task.  As you can see there are 3 different ways to go, you can pass it a contact, distribution group, or group of contacts.

MSDN Info on Parameters

Let's just do the basic one today, and pass it a contact.

Contact c;

try
            {
                LyncClient.Utilities.BeginScheduleMeeting(c, "", myar =>
                {
                   LyncClient.Utilities.EndScheduleMeeting(myar);
                }, null);
            }
            catch { }

Once we execute this we will have an Outlook window all ready to go, we just add a subject line and click send.

That will conclude this weeks blog post.  If you have any questions hit me up on twitter.

Doug Routledge, C# Lync, Skype for Business, SQL, Exchange, UC Developer  BridgeOC
Twitter - @droutledge @ndbridge

No comments:

Post a Comment

Any spam comments will be deleted and your user account will be disabled.