Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)
语法
声明
Public Function ExecuteReader ( _
As CommandBehavior _
) As AdomdDataReader
public AdomdDataReader ExecuteReader (
CommandBehavior
)
public:
virtual AdomdDataReader^ ExecuteReader (
CommandBehavior
) sealed
public final AdomdDataReader ExecuteReader (
CommandBehavior
)
public final function ExecuteReader (
: CommandBehavior
) : AdomdDataReader
参数
返回值
An AdomdDataReader.
备注
The values, CommandBehavior.KeyInfo and CommandBehavior.SingleResult, are not supported and are ignored. For more information about CommandBehavior, see System.Data.CommandBehavior.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdServer Namespace