AdomdCommand.ExecuteReader 方法 (CommandBehavior)

Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public Function ExecuteReader ( _
    As CommandBehavior _
) As AdomdDataReader
用法
Dim instance As AdomdCommand 
DimAs CommandBehavior 
Dim returnValue As AdomdDataReader 

returnValue = instance.ExecuteReader()
public AdomdDataReader ExecuteReader(
    CommandBehavior
)
public:
virtual AdomdDataReader^ ExecuteReader(
    CommandBehavior
) sealed
abstract ExecuteReader : 
        :CommandBehavior -> AdomdDataReader  
override ExecuteReader : 
        :CommandBehavior -> AdomdDataReader
public final function ExecuteReader(
     : CommandBehavior
) : AdomdDataReader

参数

返回值

类型:Microsoft.AnalysisServices.AdomdServer.AdomdDataReader
A data reader.

注释

The values, CommandBehavior.KeyInfo and CommandBehavior.SingleResult, are not supported and are ignored. For more information about CommandBehavior, see System.Data.CommandBehavior.

请参阅

参考

AdomdCommand 类

ExecuteReader 重载

Microsoft.AnalysisServices.AdomdServer 命名空间