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
Twitter - @droutledge @ndbridge
No comments:
Post a Comment
Any spam comments will be deleted and your user account will be disabled.