SPUsageProvider.WriteDataRowToServer Method
Writes a row of data into a table in the logging store.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Sub WriteDataRowToServer ( _
tableName As String, _
columns As IList(Of SPColumnDefinition), _
logTime As DateTime, _
machineName As String, _
ParamArray row As Object() _
)
'Usage
Dim instance As SPUsageProvider
Dim tableName As String
Dim columns As IList(Of SPColumnDefinition)
Dim logTime As DateTime
Dim machineName As String
Dim row As Object()
instance.WriteDataRowToServer(tableName, _
columns, logTime, machineName, row)
public virtual void WriteDataRowToServer(
string tableName,
IList<SPColumnDefinition> columns,
DateTime logTime,
string machineName,
params Object[] row
)
Parameters
tableName
Type: System.StringName of table into which a row is to be inserted.
columns
Type: System.Collections.Generic.IList<SPColumnDefinition>Definitions of the column data being inserted.
logTime
Type: System.DateTimeTime log entry was created.
machineName
Type: System.StringName of the machine.
row
Type: []Data to be written.
Note
Data should be passed in the exact same order as specified by columns parameter.
Implements
ILoggingProvider.WriteDataRowToServer(String, IList<SPColumnDefinition>, DateTime, String, [])