Share via


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

Return value

Type: System.Data.SqlClient.SqlDataReader
Returns SqlDataReader.

Remarks

The CloseConnection behavior is enforced.

See also

Reference

ILoggingProvider interface

ILoggingProvider members

Microsoft.SharePoint.Administration namespace