共用方式為


ILoggingProvider.ExecuteReader method

會以執行 TRANSACT-SQL 查詢所傳回的資料列集。

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

Syntax

'宣告
Function ExecuteReader ( _
    command As SqlCommand _
) As SqlDataReader
'用途
Dim instance As ILoggingProvider
Dim command As SqlCommand
Dim returnValue As SqlDataReader

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

參數

傳回值

Type: System.Data.SqlClient.SqlDataReader
會傳回SqlDataReader

備註

CloseConnection行為會強制執行。

請參閱

參照

ILoggingProvider interface

ILoggingProvider members

Microsoft.SharePoint.Administration namespace