共用方式為


SPDiagnosticsProvider.Sync Method

Override this method to collect your data and write it to the database using WriteDataRowToServer()

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

Syntax

'Declaration
Public MustOverride Sub Sync
'Usage
Dim instance As SPDiagnosticsProvider

instance.Sync()
public abstract void Sync()

See Also

Reference

SPDiagnosticsProvider Class

SPDiagnosticsProvider Members

Microsoft.SharePoint.Diagnostics Namespace