Edit

Share via


SearchFolder.Bind Method

Definition

Overloads

Bind(ExchangeService, FolderId)

Binds to an existing search folder and loads its first-class properties.

Bind(ExchangeService, WellKnownFolderName)

Binds to an existing search folder and loads its first-class properties.

Bind(ExchangeService, FolderId, PropertySet)

Binds to an existing search folder and loads the specified set of properties.

Bind(ExchangeService, WellKnownFolderName, PropertySet)

Binds to an existing search folder and loads the specified set of properties.

Bind(ExchangeService, FolderId)

Binds to an existing search folder and loads its first-class properties.

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

Parameters

service
ExchangeService

The service to use to bind to the search folder.

id
FolderId

The identifier of the search folder to bind to.

Returns

A search folder that corresponds to the specified identifier that contains the first-class item properties.

Remarks

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

Applies to

Bind(ExchangeService, WellKnownFolderName)

Binds to an existing search folder and loads its first-class properties.

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

Parameters

service
ExchangeService

The service to use to bind to the search folder.

name
WellKnownFolderName

The name of the search folder to bind to.

Returns

A search folder with the specified name that contains the first-class item properties.

Remarks

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

Applies to

Bind(ExchangeService, FolderId, PropertySet)

Binds to an existing search folder and loads the specified set of properties.

public:
 static Microsoft::Exchange::WebServices::Data::SearchFolder ^ 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.SearchFolder 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 search folder.

id
FolderId

The identifier of the search folder to bind to.

propertySet
PropertySet

The set of properties to load.

Returns

A search folder that corresponds to the specified identifier that contains the specified properties.

Remarks

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

Applies to

Bind(ExchangeService, WellKnownFolderName, PropertySet)

Binds to an existing search folder and loads the specified set of properties.

public:
 static Microsoft::Exchange::WebServices::Data::SearchFolder ^ 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.SearchFolder 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 search folder.

name
WellKnownFolderName

The name of the search folder to bind to.

propertySet
PropertySet

The set of properties to load.

Returns

A search folder with the specified name that contains the specified properties.

Remarks

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

Applies to