Export (0) Print
Expand All

RefreshSharingFolderType Class

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

System.Object
  ExchangeWebServices.BaseRequestType
    ExchangeWebServices.RefreshSharingFolderType

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

[SerializableAttribute]
public class RefreshSharingFolderType : BaseRequestType

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); 
    }
}

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