Share via


SPDiagnosticsDataService.GetULSLog method

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

Syntax

'Declaration
Public Function GetULSLog ( _
    correlationId As String, _
    startTime As DateTime, _
    maxEntries As Integer, _
    forwardScanMinutes As Integer _
) As ULSLogEntry()
'Usage
Dim instance As SPDiagnosticsDataService
Dim correlationId As String
Dim startTime As DateTime
Dim maxEntries As Integer
Dim forwardScanMinutes As Integer
Dim returnValue As ULSLogEntry()

returnValue = instance.GetULSLog(correlationId, _
    startTime, maxEntries, forwardScanMinutes)
public ULSLogEntry[] GetULSLog(
    string correlationId,
    DateTime startTime,
    int maxEntries,
    int forwardScanMinutes
)

Parameters

Return value

Type: []

Implements

IDiagnosticsDataservice.GetULSLog(String, DateTime, Int32, Int32)

See also

Reference

SPDiagnosticsDataService class

SPDiagnosticsDataService members

Microsoft.SharePoint.Diagnostics namespace