RefreshSharingFolderType Class

Definition

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

public ref class RefreshSharingFolderType : ExchangeWebServices::BaseRequestType
public class RefreshSharingFolderType : ExchangeWebServices.BaseRequestType
Public Class RefreshSharingFolderType
Inherits BaseRequestType
Inheritance
RefreshSharingFolderType

Examples

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 = <span class="label">IdOfLocalFolder</span>; 

    try
    {
      // Send the request and get the response.
      RefreshSharingFolderResponseMessageType rsfResponse = esb.RefreshSharingFolder(rsfRequest);
    }
    catch (Exception e) 
    {
      Console.WriteLine(e.Message); 
    }
}

Constructors

RefreshSharingFolderType()

The RefreshSharingFolderType constructor initializes a new instance of the RefreshSharingFolderType class.

Properties

SharingFolderId

The SharingFolderId property gets or sets a FolderIdType object that identifies the local folder in a sharing relationship.

Applies to