ExchangeService.SetTeamMailbox(EmailAddress, Uri, TeamMailboxLifecycleState) ExchangeService.SetTeamMailbox(EmailAddress, Uri, TeamMailboxLifecycleState) Method

Definition

Sets a shared mailbox. The SetTeamMailbox(EmailAddress, Uri, TeamMailboxLifecycleState) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

public:
 void SetTeamMailbox(Microsoft::Exchange::WebServices::Data::EmailAddress ^ emailAddress, Uri ^ sharePointSiteUrl, Microsoft::Exchange::WebServices::Data::TeamMailboxLifecycleState state);
public void SetTeamMailbox (Microsoft.Exchange.WebServices.Data.EmailAddress emailAddress, Uri sharePointSiteUrl, Microsoft.Exchange.WebServices.Data.TeamMailboxLifecycleState state);

Parameters

emailAddress
EmailAddress EmailAddress

The site mailbox email address.

sharePointSiteUrl
Uri Uri

The URL of the shared mailbox.

state
TeamMailboxLifecycleState TeamMailboxLifecycleState

A value that indicates the life cycle state of the site mailbox.

Applies to