SetTeamMailbox method
TOC
Collapse the table of content
Expand the table of content

ExchangeService.SetTeamMailbox method

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.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public void SetTeamMailbox(
	EmailAddress emailAddress,
	Uri sharePointSiteUrl,
	TeamMailboxLifecycleState state
)

Parameters

emailAddress
Type: Microsoft.Exchange.WebServices.Data.EmailAddress

The site mailbox email address.

sharePointSiteUrl
Type: System.Uri

The URL of the shared mailbox.

state
Type: Microsoft.Exchange.WebServices.Data.TeamMailboxLifecycleState

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

Show:
© 2016 Microsoft