SALES: 1-800-867-1380

GetStoreUtcTime Method

Obtains the current UTC time based on the clock for the configuration store.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

'Declaration
Function GetStoreUtcTime ( _
	transactionContext As Object _
) As DateTime
'Usage
Dim instance As ICustomProvider
Dim transactionContext As Object
Dim returnValue As DateTime

returnValue = instance.GetStoreUtcTime(transactionContext)

Parameters

transactionContext
Type: System..::..Object
The transaction context object.

Return Value

Type: System..::..DateTime
Returns DateTime.

If the configuration store is shared by multiple clients at different locations, every client must obtain the same time as it exists on the configuration store machine.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft