AdomdCommand.IDbCommand.ExecuteReader 方法
Executes the CommandText against the Connection, and builds an IDataReader.
命名空間: Microsoft.AnalysisServices.AdomdClient
組件: Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)
語法
'宣告
Private Function ExecuteReader As IDataReader
Implements IDbCommand.ExecuteReader
'用途
Dim instance As AdomdCommand
Dim returnValue As IDataReader
returnValue = CType(instance, IDbCommand).ExecuteReader()
IDataReader IDbCommand.ExecuteReader()
private:
virtual IDataReader^ ExecuteReader() sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader : unit -> IDataReader
private override ExecuteReader : unit -> IDataReader
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
傳回值
型別:System.Data.IDataReader
An IDataReader object.