This documentation is archived and is not being maintained.

RefreshSharingFolderType Class

The RefreshSharingFolderType class represents a request to refresh shared data in the specified local folder.


Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

<SerializableAttribute> _
Public Class RefreshSharingFolderType _
	Inherits BaseRequestType
Dim instance As RefreshSharingFolderType

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; 
      // Send the request and get the response.
      RefreshSharingFolderResponseMessageType rsfResponse = esb.RefreshSharingFolder(rsfRequest);
    catch (Exception e) 

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.