AppointmentCalendarSyncManager AppointmentCalendarSyncManager AppointmentCalendarSyncManager AppointmentCalendarSyncManager Class

Definition

Provides access to sync functionality for an AppointmentCalendar object.

public : sealed class AppointmentCalendarSyncManager : IAppointmentCalendarSyncManager, IAppointmentCalendarSyncManager2public sealed class AppointmentCalendarSyncManager : IAppointmentCalendarSyncManager, IAppointmentCalendarSyncManager2Public NotInheritable Class AppointmentCalendarSyncManager Implements IAppointmentCalendarSyncManager, IAppointmentCalendarSyncManager2// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

AppointmentCalendar.SyncManager provides access to an instance of this class.

Properties

LastAttemptedSyncTime LastAttemptedSyncTime LastAttemptedSyncTime LastAttemptedSyncTime

Gets or sets the last date and time that a sync with the AppointmentCalendar server was attempted.

public : DateTime LastAttemptedSyncTime { get; set; }public DateTimeOffset LastAttemptedSyncTime { get; set; }Public ReadWrite Property LastAttemptedSyncTime As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The last date and time that a sync with the AppointmentCalendar server was attempted.

LastSuccessfulSyncTime LastSuccessfulSyncTime LastSuccessfulSyncTime LastSuccessfulSyncTime

Gets or sets the last date and time that a sync with the AppointmentCalendar server was successful.

public : DateTime LastSuccessfulSyncTime { get; set; }public DateTimeOffset LastSuccessfulSyncTime { get; set; }Public ReadWrite Property LastSuccessfulSyncTime As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The last date and time that a sync with the AppointmentCalendar server was successful.

Status Status Status Status

Gets or sets the current status of the AppointmentCalendarSyncManager.

public : AppointmentCalendarSyncStatus Status { get; set; }public AppointmentCalendarSyncStatus Status { get; set; }Public ReadWrite Property Status As AppointmentCalendarSyncStatus// You can use this property in JavaScript.

Methods

SyncAsync() SyncAsync() SyncAsync() SyncAsync()

Initiates a sync operation on the AppointmentCalendar.

public : IAsyncOperation<PlatForm::Boolean> SyncAsync()public IAsyncOperation<bool> SyncAsync()Public Function SyncAsync() As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Returns

A Boolean value indicating if the sync was successfully initiated.

Events

SyncStatusChanged SyncStatusChanged SyncStatusChanged SyncStatusChanged

Occurs when the status of an AppointmentCalendar sync operation changes.

public : event TypedEventHandler SyncStatusChanged<AppointmentCalendarSyncManager,  object>public event TypedEventHandler SyncStatusChanged<AppointmentCalendarSyncManager,  object>Public Event SyncStatusChanged<AppointmentCalendarSyncManager,  object>// You can use this event in JavaScript.