共用方式為


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

  • row
    Type: []

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

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

WriteDataRowToServer Overload

Microsoft.SharePoint.Diagnostics Namespace