共用方式為


IDbCommand.ExecuteReader 方法 (CommandBehavior)

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Private Function ExecuteReader ( _
    behavior As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'用途
Dim instance As AdomdCommand
Dim behavior As CommandBehavior
Dim returnValue As IDataReader

returnValue = CType(instance, IDbCommand).ExecuteReader(behavior)
IDataReader IDbCommand.ExecuteReader(
    CommandBehavior behavior
)
private:
virtual IDataReader^ ExecuteReader(
    CommandBehavior behavior
) sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader : 
        behavior:CommandBehavior -> IDataReader 
private override ExecuteReader : 
        behavior:CommandBehavior -> IDataReader 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

實作

IDbCommand. . :: . .ExecuteReader(CommandBehavior)