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)

'Declaration
Public Sub SetTeamMailbox ( _
	emailAddress As EmailAddress, _
	sharePointSiteUrl As Uri, _
	state As TeamMailboxLifecycleState _
)
'Usage
Dim instance As ExchangeService
Dim emailAddress As EmailAddress
Dim sharePointSiteUrl As Uri
Dim state As TeamMailboxLifecycleState

instance.SetTeamMailbox(emailAddress, _
	sharePointSiteUrl, 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