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
)
参数
correlationId
类型:System.String相关性 id
- scopeId
类型:System.String
返回值
类型:Microsoft.SharePoint.Diagnostics.SPMonitoredScopeData
被监视的范围
实现
IDiagnosticsDataservice.GetScope(String, String)
备注
不包含的作用域的诊断数据