IResourceStoreCOM.GetTimeStamp Method
Returns the last modified timestamp of a resource in 'ticks'.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage
Assembly: Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage (in Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage.dll)
Syntax
'Declaration
Function GetTimeStamp ( _
resourcePath As String _
) As Long
'Usage
Dim instance As IResourceStoreCOM
Dim resourcePath As String
Dim returnValue As Long
returnValue = instance.GetTimeStamp(resourcePath)
long GetTimeStamp(
string resourcePath
)
Parameters
resourcePath
Type: System.StringThe path of the resource.
Return Value
Type: System.Int64
The last modified timestamp in 'ticks' or 0 (Zero) if an error occurred.
Remarks
'Ticks' are defined as the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight, January 1, 0001. Ref: https://msdn.microsoft.com/en-us/library/system.datetime.ticks.aspx
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.ResourceStorage Namespace