Share via


EmailMailbox.TrySetAutoReplySettingsAsync Method

Definition

Asynchronously attempts to set the auto-reply settings for the mailbox.

public:
 virtual IAsyncOperation<bool> ^ TrySetAutoReplySettingsAsync(EmailMailboxAutoReplySettings ^ autoReplySettings) = TrySetAutoReplySettingsAsync;
IAsyncOperation<bool> TrySetAutoReplySettingsAsync(EmailMailboxAutoReplySettings const& autoReplySettings);
public IAsyncOperation<bool> TrySetAutoReplySettingsAsync(EmailMailboxAutoReplySettings autoReplySettings);
function trySetAutoReplySettingsAsync(autoReplySettings)
Public Function TrySetAutoReplySettingsAsync (autoReplySettings As EmailMailboxAutoReplySettings) As IAsyncOperation(Of Boolean)

Parameters

autoReplySettings
EmailMailboxAutoReplySettings

The new auto-reply settings.

Returns

A Boolean value indicating if the operation was successful.

Windows requirements

App capabilities
email emailSystem

Applies to