SPDiagnosticsDataService.GetScope 方法

获取特定的监视的范围。

命名空间:  Microsoft.SharePoint.Diagnostics
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<OperationBehaviorAttribute(Impersonation := ImpersonationOption.Allowed)> _
Public Function GetScope ( _
    correlationId As String, _
    scopeId As String _
) As SPMonitoredScopeData
用法
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
)

参数

返回值

类型:Microsoft.SharePoint.Diagnostics.SPMonitoredScopeData
被监视的范围

实现

IDiagnosticsDataservice.GetScope(String, String)

备注

不包含的作用域的诊断数据

另请参阅

引用

SPDiagnosticsDataService 类

SPDiagnosticsDataService 成员

Microsoft.SharePoint.Diagnostics 命名空间