UpdateNow Method (UInt32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Immediately syncs with time servers using the Primary and Alternate server IP that has already been set via settings.
Namespace: Microsoft.SPOT.Time
Assembly: Microsoft.SPOT.Time (in Microsoft.SPOT.Time.dll)
Syntax
'Declaration
Public Shared Function UpdateNow ( _
tolerance As UInteger _
) As TimeServiceStatus
public static TimeServiceStatus UpdateNow(
uint tolerance
)
public:
static TimeServiceStatus^ UpdateNow(
unsigned int tolerance
)
static member UpdateNow :
tolerance:uint32 -> TimeServiceStatus
public static function UpdateNow(
tolerance : uint
) : TimeServiceStatus
Parameters
- tolerance
Type: System. . :: . .UInt32
The maximum allowable difference between the system time and the server time before the time is re-synchronized, in milliseconds.
Return Value
Type: Microsoft.SPOT.Time. . :: . .TimeServiceStatus
The status of the time service.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.