OWA: How to Get Freebusy Information

The following HTTP Request uses an OWA command to retrieve Freebusy information for a particular user…     //************************************ // Print out FreeBusy XML string to console // Created By: mstehle // Created On: 6/8/06 //************************************ public string GetFreeBusy(string userSMTP, DateTime start,     DateTime end, int interval) {     string freebusyURL = string.Format(         “http://{0}/public/?cmd=freebusy&start={1}&end={2}&interval={3}&u=SMTP:{4}”,…


DAV: How To Search Calendar For Conflicts

Here is a WebDAV sample for searching a user’s calendar for conflicts.  Given a mailbox name and timeframe it will search for any appointments…     //************************************ // Get the contents of the calendar within a date range // CREATED BY: mstehle // CREATED ON: 6/9/06 //************************************ public string SearchCalendar(string mailboxName, DateTime start,     DateTime…


DAV: How To Search mv.string Properties

The following SEARCH will return items which have been associated with the “Business” category but NOT the “Competition” category in Outlook.     <?xml version=’1.0′?> <D:searchrequest xmlns:D=’DAV:’>    <D:sql>    SELECT “DAV:href”, “urn:schemas-microsoft-com:office:office#Keywords”    FROM SCOPE ( ‘SHALLOW TRAVERSAL OF          “http://mstehleEx03/exchange/mrmet/Calendar/”‘ )    WHERE        “DAV:isfolder”= false        AND        “DAV:ishidden” = false   …


SAMPLES: CDOEX Samples Listing

CDOEX Samples Index   Listed below are links to my CDOEX samples.  If you have questions about individual samples please comment on that article.  If you would like to request a sample please comment here.   How To Add Recurrence to a Single Appointment   …There is much, much more to follow!  Remember to let…


CDOEX: How To Add Recurrence to a Single Appointment

The following CDOEX code will add indefinite weekly recurrence to an individual appointment…     public CDO.Appointment AddRecurrence(CDO.Appointment oAppt, CDO.CdoDayOfWeek day,     int instances, CDO.CdoFrequency freq) {     CDO.IRecurrencePattern iRPattern;       // Create the RecurrencePattern object.     iRPattern = oAppt.RecurrencePatterns.Add(“Add”);     iRPattern.DaysOfWeek.Add((int)day);     iRPattern.Frequency = freq;     if (instances != -1)     {        …


DAV: How To Add Recurrence to a Single Appointment

The following PROPPATCH will add indefinite weekly recurrence to an individual appointment…     <?xml version=”1.0″?> <propertyupdate xmlns=”DAV:” xmlns:c=”urn:schemas:calendar:” xmlns:x=”xml:” xmlns:ma=”http://schemas.microsoft.com/mapi/” xmlns:e=”http://schemas.microsoft.com/exchange/”>    <set>       <prop>         <ma:recurtype>2</ma:recurtype>         <c:instancetype>1</c:instancetype>         <c:rrule>           <x:v>FREQ=WEEKLY;WKST=SU;INTERVAL=1;BYDAY=TH</x:v>         </c:rrule>         <c:timezoneid>10</c:timezoneid>         <e:patternend>9999-12-31T05:00:00.000Z</e:patternend>        </>    </> </>     There are several things are several things to…


DISCLAIMER: Please read…

The information in this weblog is provided “AS IS” with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided “AS IS” without warranty of any…


SAMPLES: WebDAV Samples Listing

WebDAV Samples Index   Listed below are links to my WebDAV samples.  If you have questions about individual samples please comment on that article.  If you would like to request a sample please comment here.   How To Add Recurrence to a Single Appointment   How To Search mv.string Properties   How To Get Freebusy…