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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)> _
Public ReadOnly Property Monitors As IEnumerable(Of ISPPerformanceMonitor)
    Get
'Usage
Dim instance As SPMonitoredScope
Dim value As IEnumerable(Of ISPPerformanceMonitor)

value = instance.Monitors
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.InterfaceType)]
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