SPDiagnosticsDataService.GetULSLog 方法

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

语法

声明
Public Function GetULSLog ( _
    correlationId As String, _
    startTime As DateTime, _
    maxEntries As Integer, _
    forwardScanMinutes As Integer _
) As ULSLogEntry()
用法
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
)

参数

返回值

类型:[]

实现

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

另请参阅

引用

SPDiagnosticsDataService 类

SPDiagnosticsDataService 成员

Microsoft.SharePoint.Diagnostics 命名空间