Condividi tramite


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

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

  • 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, [])

See Also

Reference

SPUsageProvider Class

SPUsageProvider Members

Microsoft.SharePoint.Administration Namespace