RefreshSharingFolderType class
Exchange Server 2013
The RefreshSharingFolderType class represents a request to refresh shared data in the specified local folder.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
The following code example shows you how to refresh the specified local folder with the latest data from the folder that is being shared. In this example, IdOfLocalFolder is the FolderIdType object that identifies the local folder that is to be refreshed.
static void RefreshSharingFolderTest(ExchangeServiceBinding esb) { // Create the sharing request. RefreshSharingFolderType rsfRequest = new RefreshSharingFolderType(); // Specify the identifier for the local folder that is to be refreshed. rsfRequest.SharingFolderId = IdOfLocalFolder; try { // Send the request and get the response. RefreshSharingFolderResponseMessageType rsfResponse = esb.RefreshSharingFolder(rsfRequest); } catch (Exception e) { Console.WriteLine(e.Message); } }
Show: