Share via


SPDiagnosticsDataService.GetDiagnosticsData method (String, Boolean)

Get all diagnostics data for a given correlation id

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

Syntax

'Declaration
Public Function GetDiagnosticsData ( _
    correlationId As String, _
    executionplanAsLink As Boolean _
) As SPDiagnosticsData()
'Usage
Dim instance As SPDiagnosticsDataService
Dim correlationId As String
Dim executionplanAsLink As Boolean
Dim returnValue As SPDiagnosticsData()

returnValue = instance.GetDiagnosticsData(correlationId, _
    executionplanAsLink)
public SPDiagnosticsData[] GetDiagnosticsData(
    string correlationId,
    bool executionplanAsLink
)

Parameters

Return value

Type: []
The diagnostics data

Implements

IDiagnosticsDataservice.GetDiagnosticsData(String, Boolean)

See also

Reference

SPDiagnosticsDataService class

SPDiagnosticsDataService members

GetDiagnosticsData overload

Microsoft.SharePoint.Diagnostics namespace