public class SearchFolder extends Folder
Constructor and Description |
---|
SearchFolder(ExchangeService service)
Initializes an unsaved local instance of the class.
|
Modifier and Type | Method and Description |
---|---|
static SearchFolder |
bind(ExchangeService service,
FolderId id)
Binds to an existing search folder and loads its first class property.
|
static SearchFolder |
bind(ExchangeService service,
FolderId id,
PropertySet propertySet)
Binds to an existing search folder and loads the specified set of
property.
|
static SearchFolder |
bind(ExchangeService service,
WellKnownFolderName name)
Binds to an existing search folder and loads the specified set of
property.
|
static SearchFolder |
bind(ExchangeService service,
WellKnownFolderName name,
PropertySet propertySet)
Binds to an existing search folder and loads the specified set of
property.
|
ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version.
|
ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object.
|
SearchFolderParameters |
getSearchParameters()
Gets the search parameters associated with the search folder.
|
void |
validate()
Validates this instance.
|
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, getSetFieldXmlElementName, getTotalCount, getUnreadCount, internalDelete, internalLoad, move, move, removeExtendedProperty, save, save, setDisplayName, setExtendedProperty, setFolderClass, update
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 SearchFolder(ExchangeService service) throws Exception
service
- the serviceException
- the exceptionpublic static SearchFolder bind(ExchangeService service, FolderId id, PropertySet propertySet) throws Exception
service
- the serviceid
- the idpropertySet
- the property setException
- the exceptionpublic static SearchFolder bind(ExchangeService service, FolderId id) throws Exception
service
- the serviceid
- the idException
- the exceptionpublic static SearchFolder bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet) throws Exception
service
- the servicename
- the namepropertySet
- the property setException
- the exceptionpublic static SearchFolder bind(ExchangeService service, WellKnownFolderName name) throws Exception
service
- the servicename
- the nameException
- the exceptionpublic ServiceObjectSchema getSchema()
public ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class Folder
public SearchFolderParameters getSearchParameters() throws Exception
Exception
- the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.