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
)
参数
- correlationId
类型:System.String
- startTime
类型:System.DateTime
- maxEntries
类型:System.Int32
- forwardScanMinutes
类型:System.Int32
返回值
类型:[]
实现
IDiagnosticsDataservice.GetULSLog(String, DateTime, Int32, Int32)