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
)
參數
command
Type: System.Data.SqlClient.SqlCommand指定要執行的 TRANSACT-SQL 查詢**[System.Data.SqlClient.SqlCommand]**物件。
傳回值
Type: System.Data.SqlClient.SqlDataReader
SqlDataReader 物件。
Implements
ILoggingProvider.ExecuteReader(SqlCommand)
備註
**[System.Data.CommandBehavior.CloseConnection]**行為會強制執行。
注意
尚未實作此成員函式。