Folder.Bind Folder.Bind Folder.Bind Method

Definition

Overloads

Bind(ExchangeService, FolderId) Bind(ExchangeService, FolderId) Bind(ExchangeService, FolderId)

Binds to an existing folder, whatever its actual type is, and loads its first class properties.

Bind(ExchangeService, WellKnownFolderName) Bind(ExchangeService, WellKnownFolderName) Bind(ExchangeService, WellKnownFolderName)

Binds to an existing folder, whatever its actual type is, and loads its first class properties.

Bind(ExchangeService, FolderId, PropertySet) Bind(ExchangeService, FolderId, PropertySet)

Binds to an existing folder, whatever its actual type is, and loads the specified set of properties.

Bind(ExchangeService, WellKnownFolderName, PropertySet) Bind(ExchangeService, WellKnownFolderName, PropertySet)

Binds to an existing folder, whatever its actual type is, and loads the specified set of properties.

Bind(ExchangeService, FolderId) Bind(ExchangeService, FolderId) Bind(ExchangeService, FolderId)

Binds to an existing folder, whatever its actual type is, and loads its first class properties.

public:
 static Microsoft::Exchange::WebServices::Data::Folder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::FolderId ^ id);
public static Microsoft.Exchange.WebServices.Data.Folder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id);
Public Shared Function Bind (service As ExchangeService, id As FolderId) As Folder
Parameters
service
ExchangeService ExchangeService ExchangeService

The service to use to bind to the folder.

id
FolderId FolderId FolderId

The identifier of the folder to bind to.

Returns

The folder that corresponds to the specified ID.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, WellKnownFolderName) Bind(ExchangeService, WellKnownFolderName) Bind(ExchangeService, WellKnownFolderName)

Binds to an existing folder, whatever its actual type is, and loads its first class properties.

public:
 static Microsoft::Exchange::WebServices::Data::Folder ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::WellKnownFolderName name);
public static Microsoft.Exchange.WebServices.Data.Folder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name);
Public Shared Function Bind (service As ExchangeService, name As WellKnownFolderName) As Folder
Parameters
service
ExchangeService ExchangeService ExchangeService

The service to use to bind to the folder.

name
WellKnownFolderName WellKnownFolderName WellKnownFolderName

The name of the folder to bind to.

Returns

The folder with the specified name.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, FolderId, PropertySet) Bind(ExchangeService, FolderId, PropertySet)

Binds to an existing folder, whatever its actual type is, and loads the specified set of properties.

public:
 static Microsoft::Exchange::WebServices::Data::Folder ^ 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.Folder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.FolderId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
service
ExchangeService ExchangeService ExchangeService

The service to use to bind to the folder.

id
FolderId FolderId FolderId

The identifier of the folder to bind to.

propertySet
PropertySet PropertySet PropertySet

The set of properties to load.

Returns

The folder that corresponds to the specified ID.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, WellKnownFolderName, PropertySet) Bind(ExchangeService, WellKnownFolderName, PropertySet)

Binds to an existing folder, whatever its actual type is, and loads the specified set of properties.

public:
 static Microsoft::Exchange::WebServices::Data::Folder ^ 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.Folder Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.WellKnownFolderName name, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);
Parameters
service
ExchangeService ExchangeService ExchangeService

The service to use to bind to the folder.

name
WellKnownFolderName WellKnownFolderName WellKnownFolderName

The name of the folder to bind to.

propertySet
PropertySet PropertySet PropertySet

The set of properties to load.

Returns

The folder with the specified name.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to