Share via


SPDiagnosticsDataService.GetScopes method

Get all monitored scopes.

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

Syntax

'Declaration
Public Function GetScopes ( _
    correlationId As String _
) As SPMonitoredScopeData()
'Usage
Dim instance As SPDiagnosticsDataService
Dim correlationId As String
Dim returnValue As SPMonitoredScopeData()

returnValue = instance.GetScopes(correlationId)
public SPMonitoredScopeData[] GetScopes(
    string correlationId
)

Parameters

Return value

Type: []
The monitored scopes

Implements

IDiagnosticsDataservice.GetScopes(String)

Remarks

The diagnostics data of the scope is not included

See also

Reference

SPDiagnosticsDataService class

SPDiagnosticsDataService members

Microsoft.SharePoint.Diagnostics namespace