TasksFolder.Bind Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Bind(ExchangeService, FolderId) |
Binds to an existing tasks folder and loads its first class properties. Calling this method results in a call to EWS. |
Bind(ExchangeService, WellKnownFolderName) |
Binds to an existing tasks folder and loads its first class properties. Calling this method results in a call to EWS. |
Bind(ExchangeService, FolderId, PropertySet) |
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS. |
Bind(ExchangeService, WellKnownFolderName, PropertySet) |
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS. |
Bind(ExchangeService, FolderId)
Binds to an existing tasks folder and loads its first class properties. Calling this method results in a call to EWS.
public:
static Microsoft::Exchange::WebServices::Data::TasksFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id);
public static Microsoft.Exchange.WebServices.Data.TasksFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id);
Public Shared Function Bind (service As ExchangeService, id As FolderId) As TasksFolder
Parameters
- service
- ExchangeService
The service to use to bind to the tasks folder.
- id
- FolderId
The Id of the tasks folder to bind to.
Returns
A TasksFolder instance representing the task folder corresponding to the specified Id.
Applies to
Bind(ExchangeService, WellKnownFolderName)
Binds to an existing tasks folder and loads its first class properties. Calling this method results in a call to EWS.
public:
static Microsoft::Exchange::WebServices::Data::TasksFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name);
public static Microsoft.Exchange.WebServices.Data.TasksFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name);
Public Shared Function Bind (service As ExchangeService, name As WellKnownFolderName) As TasksFolder
Parameters
- service
- ExchangeService
The service to use to bind to the tasks folder.
- name
- WellKnownFolderName
The name of the tasks folder to bind to.
Returns
A TasksFolder instance representing the tasks folder with the specified name.
Applies to
Bind(ExchangeService, FolderId, PropertySet)
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS.
public:
static Microsoft::Exchange::WebServices::Data::TasksFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.TasksFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
- service
- ExchangeService
The service to use to bind to the tasks folder.
- id
- FolderId
The Id of the tasks folder to bind to.
- propertySet
- PropertySet
The set of properties to load.
Returns
A TasksFolder instance representing the task folder corresponding to the specified Id.
Applies to
Bind(ExchangeService, WellKnownFolderName, PropertySet)
Binds to an existing tasks folder and loads the specified set of properties. Calling this method results in a call to EWS.
public:
static Microsoft::Exchange::WebServices::Data::TasksFolder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.TasksFolder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
- service
- ExchangeService
The service to use to bind to the tasks folder.
- name
- WellKnownFolderName
The name of the tasks folder to bind to.
- propertySet
- PropertySet
The set of properties to load.
Returns
A TasksFolder instance representing the tasks folder with the specified name.