ILoggingProvider.ExecuteReader method
Executes a Transact-SQL query that returns a rowset.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Function ExecuteReader ( _
command As SqlCommand _
) As SqlDataReader
'Usage
Dim instance As ILoggingProvider
Dim command As SqlCommand
Dim returnValue As SqlDataReader
returnValue = instance.ExecuteReader(command)
SqlDataReader ExecuteReader(
SqlCommand command
)
Parameters
- command
Type: System.Data.SqlClient.SqlCommand
Return value
Type: System.Data.SqlClient.SqlDataReader
Returns SqlDataReader.
Remarks
The CloseConnection behavior is enforced.