Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the scoped segment of code that is currently being monitored.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared ReadOnly Property Current As SPMonitoredScope
Get
'Usage
Dim value As SPMonitoredScope
value = SPMonitoredScope.Current
public static SPMonitoredScope Current { get; }
Property Value
Type: Microsoft.SharePoint.Utilities.SPMonitoredScope
A SPMonitoredScope object that represents the current monitored scope. If there is no such object, the value of this property is null.
Remarks
The current scope is the closest enclosing SPMonitoredScope instance.