Edit

Share via


ExchangeService.AddDelegates Method

Definition

Overloads

AddDelegates(Mailbox, Nullable<MeetingRequestsDeliveryScope>, DelegateUser[])

Adds delegates to a specific mailbox.

AddDelegates(Mailbox, Nullable<MeetingRequestsDeliveryScope>, IEnumerable<DelegateUser>)

Adds delegates to a specified mailbox.

AddDelegates(Mailbox, Nullable<MeetingRequestsDeliveryScope>, DelegateUser[])

Adds delegates to a specific mailbox.

public:
 System::Collections::ObjectModel::Collection<Microsoft::Exchange::WebServices::Data::DelegateUserResponse ^> ^ AddDelegates(Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox, Nullable<Microsoft::Exchange::WebServices::Data::MeetingRequestsDeliveryScope> meetingRequestsDeliveryScope, ... cli::array <Microsoft::Exchange::WebServices::Data::DelegateUser ^> ^ delegateUsers);
public System.Collections.ObjectModel.Collection<Microsoft.Exchange.WebServices.Data.DelegateUserResponse> AddDelegates (Microsoft.Exchange.WebServices.Data.Mailbox mailbox, Nullable<Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope> meetingRequestsDeliveryScope, params Microsoft.Exchange.WebServices.Data.DelegateUser[] delegateUsers);

Parameters

mailbox
Mailbox

The mailbox to which delegates are to be added.

meetingRequestsDeliveryScope
Nullable<MeetingRequestsDeliveryScope>

One of the enumeration values that specifies how meeting requests should be sent to delegates.

delegateUsers
DelegateUser[]

The delegates to be added to the specified mailbox.

Returns

A collection of objects that provides the results of the operation.

Remarks

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

Applies to

AddDelegates(Mailbox, Nullable<MeetingRequestsDeliveryScope>, IEnumerable<DelegateUser>)

Adds delegates to a specified mailbox.

public:
 System::Collections::ObjectModel::Collection<Microsoft::Exchange::WebServices::Data::DelegateUserResponse ^> ^ AddDelegates(Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox, Nullable<Microsoft::Exchange::WebServices::Data::MeetingRequestsDeliveryScope> meetingRequestsDeliveryScope, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::DelegateUser ^> ^ delegateUsers);
public System.Collections.ObjectModel.Collection<Microsoft.Exchange.WebServices.Data.DelegateUserResponse> AddDelegates (Microsoft.Exchange.WebServices.Data.Mailbox mailbox, Nullable<Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope> meetingRequestsDeliveryScope, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.DelegateUser> delegateUsers);

Parameters

mailbox
Mailbox

The mailbox that delegates are to be added to.

meetingRequestsDeliveryScope
Nullable<MeetingRequestsDeliveryScope>

One of the enumeration values that specifies how meeting requests should be sent to delegates.

delegateUsers
IEnumerable<DelegateUser>

The delegates to be added to the specified mailbox.

Returns

A collection of objects that provides the results of the operation.

Remarks

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

Applies to