public class ContactsFolder extends Folder
Constructor and Description |
---|
ContactsFolder(ExchangeService service)
Initializes an unsaved local instance of the class.To bind to an
existing contacts folder, use ContactsFolder.Bind() instead.
|
Modifier and Type | Method and Description |
---|---|
static ContactsFolder |
bind(ExchangeService service,
FolderId id)
Binds to an existing contacts folder and loads its first class
property.
|
static ContactsFolder |
bind(ExchangeService service,
FolderId id,
PropertySet propertySet)
Binds to an existing contacts folder and loads the specified set of
property.
|
static ContactsFolder |
bind(ExchangeService service,
WellKnownFolderName name)
Binds to an existing contacts folder and loads its first class
property.
|
static ContactsFolder |
bind(ExchangeService service,
WellKnownFolderName name,
PropertySet propertySet)
Binds to an existing contacts folder and loads the specified set of
property.
|
ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version.
|
copy, copy, delete, empty, findFolders, findFolders, findItems, findItems, findItems, findItems, findItems, findItems, getChangeXmlElementName, getChildFolderCount, getDeleteFieldXmlElementName, getDisplayName, getEffectiveRights, getExtendedProperties, getExtendedPropertiesForService, getFolderClass, getId, getIdPropertyDefinition, getManagedFolderInformation, getParentFolderId, getPermissions, getSchema, getSetFieldXmlElementName, getTotalCount, getUnreadCount, internalDelete, internalLoad, move, move, removeExtendedProperty, save, save, setDisplayName, setExtendedProperty, setFolderClass, update, validate
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getIsCustomDateTimeScopingRequired, getIsTimeZoneHeaderRequired, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, writeToXml, writeToXmlForUpdate
public ContactsFolder(ExchangeService service) throws Exception
service
- the serviceException
- the exceptionpublic static ContactsFolder bind(ExchangeService service, FolderId id, PropertySet propertySet) throws Exception
service
- the serviceid
- the idpropertySet
- the property setException
- the exceptionpublic static ContactsFolder bind(ExchangeService service, FolderId id) throws Exception
service
- the serviceid
- the idException
- the exceptionpublic static ContactsFolder bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet) throws Exception
service
- the servicename
- the namepropertySet
- the property setException
- the exceptionpublic static ContactsFolder bind(ExchangeService service, WellKnownFolderName name) throws Exception
service
- the servicename
- the nameException
- the exceptionpublic ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class Folder
Copyright © 2012–2015 Microsoft. All rights reserved.