SPUsageProvider.ExecuteReader Method
Executes a Transact-SQL query that returns a rowset.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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
command
Type: System.Data.SqlClient.SqlCommandA [System.Data.SqlClient.SqlCommand] object specifying the Transact-SQL query to execute.
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.