SPDiagnosticsProvider.WriteDataRowToServer method (DateTime, String, Object[])
Writes supplied data to Usage database.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub WriteDataRowToServer ( _
logTime As DateTime, _
machineName As String, _
ParamArray row As Object() _
)
'Usage
Dim instance As SPDiagnosticsProvider
Dim logTime As DateTime
Dim machineName As String
Dim row As Object()
instance.WriteDataRowToServer(logTime, _
machineName, row)
public void WriteDataRowToServer(
DateTime logTime,
string machineName,
params Object[] row
)
Parameters
logTime
Type: System.DateTimeTime log entry was created.
machineName
Type: System.StringName of the machine.
row
Type: []Data to be written. Data should be passed in the exact same order as specified by the Columnsproperty.