Share via


LastSyncStatus Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the latest sync status.

Namespace:  Microsoft.SPOT.Time
Assembly:  Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)

Syntax

'Declaration
Public Shared ReadOnly Property LastSyncStatus As TimeServiceStatus
public static TimeServiceStatus LastSyncStatus { get; }
public:
static property TimeServiceStatus^ LastSyncStatus {
    TimeServiceStatus^ get ();
}
static member LastSyncStatus : TimeServiceStatus with get
static function get LastSyncStatus () : TimeServiceStatus

Property Value

Type: Microsoft.SPOT.Time. . :: . .TimeServiceStatus
The status of the time service.

Remarks

The latest sync status is either scheduled or forced (manual) sync, whichever occurred last. This can be determined from the TimeServiceStatus..::..Flags field. Optionally, this also returns the latest UTC time.

.NET Framework Security

See Also

Reference

TimeService Class

Microsoft.SPOT.Time Namespace