ExchangeService.SetTeamMailbox 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.
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.
A value that indicates the life cycle state of the site mailbox.