Share via


SPDiagnosticsDataService.GetMyScopes method

Get the monitored scope from the curent user and address after a specific time.

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

Syntax

'Declaration
Public Function GetMyScopes ( _
    startTimeUtc As DateTime _
) As SPMonitoredScopeData()
'Usage
Dim instance As SPDiagnosticsDataService
Dim startTimeUtc As DateTime
Dim returnValue As SPMonitoredScopeData()

returnValue = instance.GetMyScopes(startTimeUtc)
public SPMonitoredScopeData[] GetMyScopes(
    DateTime startTimeUtc
)

Parameters

Return value

Type: []
The monitored scopes

Implements

IDiagnosticsDataservice.GetMyScopes(DateTime)

Remarks

The diagnostics data of the scope is included

See also

Reference

SPDiagnosticsDataService class

SPDiagnosticsDataService members

Microsoft.SharePoint.Diagnostics namespace