Share via


SPMonitoredScope.Monitors property

Gets the monitors that are associated with a given scope.

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

Syntax

'Declaration
Public ReadOnly Property Monitors As IEnumerable(Of ISPPerformanceMonitor)
    Get
'Usage
Dim instance As SPMonitoredScope
Dim value As IEnumerable(Of ISPPerformanceMonitor)

value = instance.Monitors
public IEnumerable<ISPPerformanceMonitor> Monitors { get; }

Property value

Type: System.Collections.Generic.IEnumerable<ISPPerformanceMonitor>
An IEnumerable<T> object that contains an enumerable collection of monitors.

See also

Reference

SPMonitoredScope class

SPMonitoredScope members

Microsoft.SharePoint.Utilities namespace