当前位置: 首页>>代码示例>>Java>>正文


Java ExchangeService.bindToFolder方法代码示例

本文整理汇总了Java中microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder方法的典型用法代码示例。如果您正苦于以下问题:Java ExchangeService.bindToFolder方法的具体用法?Java ExchangeService.bindToFolder怎么用?Java ExchangeService.bindToFolder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在microsoft.exchange.webservices.data.core.ExchangeService的用法示例。


在下文中一共展示了ExchangeService.bindToFolder方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing folder, whatever its actual type is, and loads the
 * specified set of property. Calling this method results in a call to
 * EWS.
 *
 * @param service     The service to use to bind to the folder.
 * @param id          The Id of the folder to bind to.
 * @param propertySet The set of property to load.
 * @return A Folder instance representing the folder corresponding to the
 * specified Id.
 * @throws Exception the exception
 */
public static Folder bind(ExchangeService service, FolderId id,
    PropertySet propertySet) throws Exception {
  return service.bindToFolder(Folder.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:17,代码来源:Folder.java

示例2: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing search folder and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A SearchFolder instance representing the search folder
 * corresponding to the specified Id.
 * @throws Exception the exception
 */
public static SearchFolder bind(ExchangeService service, FolderId id,
    PropertySet propertySet) throws Exception {
  return service.bindToFolder(SearchFolder.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:SearchFolder.java

示例3: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing calendar folder and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A CalendarFolder instance representing the calendar folder
 * corresponding to the specified Id
 * @throws Exception the exception
 */
public static CalendarFolder bind(ExchangeService service, FolderId id,
    PropertySet propertySet) throws Exception {
  return service.bindToFolder(CalendarFolder.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:CalendarFolder.java

示例4: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing tasks folder and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A TasksFolder instance representing the task folder corresponding
 * to the specified Id.
 * @throws Exception the exception
 */
public static TasksFolder bind(ExchangeService service, FolderId id,
    PropertySet propertySet) throws Exception {
  return service.bindToFolder(TasksFolder.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:TasksFolder.java

示例5: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing contacts folder and loads the specified set of
 * property.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A ContactsFolder instance representing the contacts folder
 * corresponding to the specified Id.
 * @throws Exception the exception
 */
public static ContactsFolder bind(ExchangeService service, FolderId id,
    PropertySet propertySet) throws Exception {
  return service.bindToFolder(ContactsFolder.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:ContactsFolder.java


注:本文中的microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。