RefreshSharingFolderType 类

定义

RefreshSharingFolderType 表示刷新指定本地文件夹中的共享数据的请求。

public ref class RefreshSharingFolderType : ExchangeWebServices::BaseRequestType
public class RefreshSharingFolderType : ExchangeWebServices.BaseRequestType
Public Class RefreshSharingFolderType
Inherits BaseRequestType
继承
RefreshSharingFolderType

示例

下面的代码示例演示如何使用正在共享的文件夹的最新数据刷新指定的本地文件夹。 在此示例中,IdOfLocalFolder 是 FolderIdType 标识要刷新的本地文件夹的对象。

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

构造函数

RefreshSharingFolderType()

构造 RefreshSharingFolderType 函数初始化 类的新实例 RefreshSharingFolderType

属性

SharingFolderId

属性 SharingFolderId 获取或设置一个 FolderIdType 对象,该对象标识共享关系中的本地文件夹。

适用于