SPUsageProvider.ExecuteReader method

Executes a Transact-SQL query that returns a rowset.

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

Syntax

'Declaration
Public Overridable Function ExecuteReader ( _
    command As SqlCommand _
) As SqlDataReader
'Usage
Dim instance As SPUsageProvider
Dim command As SqlCommand
Dim returnValue As SqlDataReader

returnValue = instance.ExecuteReader(command)
public virtual SqlDataReader ExecuteReader(
    SqlCommand command
)

Parameters

Return value

Type: System.Data.SqlClient.SqlDataReader
SqlDataReader object.

Implements

ILoggingProvider.ExecuteReader(SqlCommand)

Remarks

The [System.Data.CommandBehavior.CloseConnection] behavior is enforced.

Warning

This member function is not implemented.

See also

Reference

SPUsageProvider class

SPUsageProvider members

Microsoft.SharePoint.Administration namespace