SPMonitoredScope.ScopeId property

This is a unique id for a monitored scope inside a correlation id. Since one correlation id can have multiple requests. The scope can also have duplicated names and can be across several different machine. We need a unique id to identify the scope.

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

Syntax

'Declaration
Public ReadOnly Property ScopeId As Long
    Get
'Usage
Dim instance As SPMonitoredScope
Dim value As Long

value = instance.ScopeId
public long ScopeId { get; }

Property value

Type: System.Int64

See also

Reference

SPMonitoredScope class

SPMonitoredScope members

Microsoft.SharePoint.Utilities namespace