Share via


SPDiagnosticsProvider.WriteDataRowToServer method (String, IList<SPColumnDefinition>, DateTime, String, Object[])

Writes a row of data into a table in the logging store. The table should have been created with CreateTable(String, IList<SPColumnDefinition>)CreateTable(String, IList<SPColumnDefinition>).

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

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 SPDiagnosticsProvider
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.String

    Name of table into which a row is to be inserted.

  • row
    Type: []

    Data to be written. Data should be passed in the exact same order as specified by columns parameter.

Implements

ILoggingProvider.WriteDataRowToServer(String, IList<SPColumnDefinition>, DateTime, String, [])

See also

Reference

SPDiagnosticsProvider class

SPDiagnosticsProvider members

WriteDataRowToServer overload

Microsoft.SharePoint.Diagnostics namespace