Now you have the proper URL to create the sharing relationship. If one or more binding contexts are found, the URLs for all available sharing contexts will be displayed. DisplaySharePointUrl uses the Table object to look for the sharing binding information in the current folder for the active explorer window. Then use the first procedure, DisplaySharePointUrl, in the following code example, to get the correct URL. Because the stssync:// URL is not provided in the SharePoint user interface for the folder, manually link the destination folder into Outlook. When connecting to a SharePoint folder programmatically, you must determine the proper URL to use to create the sharing relationship. Note that you must use a stssync:// URL that provides details about the SharePoint server, folder path, and other information that Outlook needs to open a SharePoint folder. You can connect to a SharePoint folder by using the OpenSharedFolder(String, Object, Object, Object) method of the NameSpace object. SharePoint synchronization folders are stored in their own Outlook Personal Folders (.pst) file outside of the user’s mailbox. For example, synchronizing to a SharePoint calendar folder will create a new calendar folder in Outlook. Based on the URL provided upon synchronization, Outlook will create a new folder of the same base type as the SharePoint folder. In Outlook, you can synchronize calendars, contact lists, task lists, discussion boards, and document libraries to SharePoint folders. The following code example is an excerpt from Programming Applications for Microsoft Office Outlook 2007.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |