Edit

Share via


ExchangeService.RemoveDelegates Method

Definition

Overloads

RemoveDelegates(Mailbox, IEnumerable<UserId>)

Removes delegates from a specific mailbox.

RemoveDelegates(Mailbox, UserId[])

Removes delegates from a specified mailbox. Calling this method results in a call to Exchange Web Services (EWS).

RemoveDelegates(Mailbox, IEnumerable<UserId>)

Removes delegates from a specific mailbox.

public:
 System::Collections::ObjectModel::Collection<Microsoft::Exchange::WebServices::Data::DelegateUserResponse ^> ^ RemoveDelegates(Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::UserId ^> ^ userIds);
public System.Collections.ObjectModel.Collection<Microsoft.Exchange.WebServices.Data.DelegateUserResponse> RemoveDelegates (Microsoft.Exchange.WebServices.Data.Mailbox mailbox, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.UserId> userIds);

Parameters

mailbox
Mailbox

The mailbox from which delegates are to be removed.

userIds
IEnumerable<UserId>

The IDs of the delegates to be removed from 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

RemoveDelegates(Mailbox, UserId[])

Removes delegates from a specified mailbox. Calling this method results in a call to Exchange Web Services (EWS).

public:
 System::Collections::ObjectModel::Collection<Microsoft::Exchange::WebServices::Data::DelegateUserResponse ^> ^ RemoveDelegates(Microsoft::Exchange::WebServices::Data::Mailbox ^ mailbox, ... cli::array <Microsoft::Exchange::WebServices::Data::UserId ^> ^ userIds);
public System.Collections.ObjectModel.Collection<Microsoft.Exchange.WebServices.Data.DelegateUserResponse> RemoveDelegates (Microsoft.Exchange.WebServices.Data.Mailbox mailbox, params Microsoft.Exchange.WebServices.Data.UserId[] userIds);

Parameters

mailbox
Mailbox

The mailbox from which the delegates are to be removed.

userIds
UserId[]

The IDs of the delegates to be removed from the specified mailbox.

Returns

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

Applies to