ExchangeService.RemoveDelegates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.