Share via


EmailMailbox.MarkFolderSyncEnabledAsync(String, Boolean) Method

Definition

Asynchronously marks a folder as sync enabled or disabled.

public:
 virtual IAsyncAction ^ MarkFolderSyncEnabledAsync(Platform::String ^ folderId, bool isSyncEnabled) = MarkFolderSyncEnabledAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction MarkFolderSyncEnabledAsync(winrt::hstring const& folderId, bool const& isSyncEnabled);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction MarkFolderSyncEnabledAsync(string folderId, bool isSyncEnabled);
function markFolderSyncEnabledAsync(folderId, isSyncEnabled)
Public Function MarkFolderSyncEnabledAsync (folderId As String, isSyncEnabled As Boolean) As IAsyncAction

Parameters

folderId
String

Platform::String

winrt::hstring

The ID of the folder to mark.

isSyncEnabled
Boolean

bool

True to enable to syncing with the server, false to disable syncing.

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to