SPDiagnosticsDataService.GetDiagnosticsData method (String, String)
Get all diagnostics data for a given correlation id and name
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetDiagnosticsData ( _
correlationId As String, _
name As String _
) As SPDiagnosticsData()
'Usage
Dim instance As SPDiagnosticsDataService
Dim correlationId As String
Dim name As String
Dim returnValue As SPDiagnosticsData()
returnValue = instance.GetDiagnosticsData(correlationId, _
name)
public SPDiagnosticsData[] GetDiagnosticsData(
string correlationId,
string name
)
Parameters
correlationId
Type: System.StringThe correlation id
name
Type: System.StringThe name
Return value
Type: []
The diagnostics data
Implements
IDiagnosticsDataservice.GetDiagnosticsData(String, String)
See also
Reference
SPDiagnosticsDataService class