Share via


SPRequestUsageEntry.Duration property

Gets or sets the time, in milliseconds, that the request took to execute.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Duration As Long
    Get
    Set
'Usage
Dim instance As SPRequestUsageEntry
Dim value As Long

value = instance.Duration

instance.Duration = value
public long Duration { get; set; }

Property value

Type: System.Int64
The time that the request took to execute.

See also

Reference

SPRequestUsageEntry class

SPRequestUsageEntry members

Microsoft.SharePoint.Administration namespace