ContactGroup.Bind Method

Definition

Overloads

Bind(ExchangeService, ItemId)

Binds a ContactGroup class object to a specific existing contact group and loads its first-class properties. Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId, PropertySet)

Binds a ContactGroup object to a specific existing contact group and loads the specified properties. Calling this method results in a call to Exchange Web Services (EWS).

Bind(ExchangeService, ItemId)

Binds a ContactGroup class object to a specific existing contact group and loads its first-class properties. Calling this method results in a call to Exchange Web Services (EWS).

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

Parameters

service
ExchangeService

The ExchangeServiceBase object to which the contact group will be bound.

id
ItemId

The identifier of the contact group to bind to.

Returns

The Bind(ExchangeService, ItemId) method returns a ContactGroup instance that is bound to the specified contact group.

Applies to

Bind(ExchangeService, ItemId, PropertySet)

Binds a ContactGroup object to a specific existing contact group and loads the specified properties. Calling this method results in a call to Exchange Web Services (EWS).

public:
 static Microsoft::Exchange::WebServices::Data::ContactGroup ^ Bind(Microsoft::Exchange::WebServices::Data::ExchangeService ^ service, Microsoft::Exchange::WebServices::Data::ItemId ^ id, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet);
public static Microsoft.Exchange.WebServices.Data.ContactGroup Bind (Microsoft.Exchange.WebServices.Data.ExchangeService service, Microsoft.Exchange.WebServices.Data.ItemId id, Microsoft.Exchange.WebServices.Data.PropertySet propertySet);

Parameters

service
ExchangeService

The ExchangeServiceBase object to which the contact group will be bound.

id
ItemId

The identifier of the contact group.

propertySet
PropertySet

The set of contact group properties to load.

Returns

The Bind(ExchangeService, ItemId, PropertySet) method returns a ContactGroup instance that is bound to the specified contact group.

Applies to