SPExecutionTimeCounter.ElapsedTime Property
Gets the time it took the operation to complete.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property ElapsedTime As TimeSpan
Get
'Usage
Dim instance As SPExecutionTimeCounter
Dim value As TimeSpan
value = instance.ElapsedTime
public TimeSpan ElapsedTime { get; }
Property Value
Type: System.TimeSpan
A TimeSpan object that represents the time it took the operation to complete.