EmailMailbox.MarkFolderSyncEnabledAsync(String, Boolean) 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for