Share via


ILoggingProvider members

Represents common functionality across logging providers.

The ILoggingProvider type exposes the following members.

Properties

  Name Description
Public property Columns A list that provides the column name and sql database type used to store data for the corresponding logging store object.
Public property RetentionPeriod Gets the number of days to store data for this provider.
Public property TableName Primary name given to objects created in the logging store.

Top

Methods

  Name Description
Public method CreateTable Creates a table in the logging store.
Public method ExecuteNonQuery Executes a Transact-SQL query that does not return any rows.
Public method ExecuteReader Executes a Transact-SQL query that returns a rowset.
Public method OnProvisioning This method is called to allow providers to perform any kind of initialization of SQL database, such as creation of tables and/or sprocs.
Public method OnUnprovisioning This method is called to allow providers to revert any actions performed during provisioning of the provider.
Public method WriteDataRowToServer Writes a row of data into a table in the logging store. The table should have been created with [CreateTable].

Top

See also

Reference

ILoggingProvider interface

Microsoft.SharePoint.Administration namespace