Edit

Share via


ExchangeService.SetTeamMailbox 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

The site mailbox email address.

sharePointSiteUrl
Uri

The URL of the shared mailbox.

state
TeamMailboxLifecycleState

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

Applies to