共用方式為


SPUsageProvider.ExecuteReader method

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

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

Syntax

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

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

參數

傳回值

Type: System.Data.SqlClient.SqlDataReader
SqlDataReader 物件。

Implements

ILoggingProvider.ExecuteReader(SqlCommand)

備註

**[System.Data.CommandBehavior.CloseConnection]**行為會強制執行。

注意

尚未實作此成員函式。

請參閱

參照

SPUsageProvider class

SPUsageProvider members

Microsoft.SharePoint.Administration namespace