SPDiagnosticsDataService.GetScope method
Get the specific monitored scope.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<OperationBehaviorAttribute(Impersonation := ImpersonationOption.Allowed)> _
Public Function GetScope ( _
correlationId As String, _
scopeId As String _
) As SPMonitoredScopeData
'Usage
Dim instance As SPDiagnosticsDataService
Dim correlationId As String
Dim scopeId As String
Dim returnValue As SPMonitoredScopeData
returnValue = instance.GetScope(correlationId, _
scopeId)
[OperationBehaviorAttribute(Impersonation = ImpersonationOption.Allowed)]
public SPMonitoredScopeData GetScope(
string correlationId,
string scopeId
)
Parameters
correlationId
Type: System.StringThe correlation id
- scopeId
Type: System.String
Return value
Type: Microsoft.SharePoint.Diagnostics.SPMonitoredScopeData
The monitored scope
Implements
IDiagnosticsDataservice.GetScope(String, String)
Remarks
The diagnostics data of the scope is included
See also
Reference
SPDiagnosticsDataService class