ExecuteReader 方法 (CommandBehavior)
Runs the AdomdCommand using the specified System.Data..::..CommandBehaviorenumeration value and returns an AdomdDataReader.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public Function ExecuteReader ( _
behavior As CommandBehavior _
) As AdomdDataReader
用法
Dim instance As AdomdCommand
Dim behavior As CommandBehavior
Dim returnValue As AdomdDataReader
returnValue = instance.ExecuteReader(behavior)
public AdomdDataReader ExecuteReader(
CommandBehavior behavior
)
public:
AdomdDataReader^ ExecuteReader(
CommandBehavior behavior
)
member ExecuteReader :
behavior:CommandBehavior -> AdomdDataReader
public function ExecuteReader(
behavior : CommandBehavior
) : AdomdDataReader
参数
- behavior
类型:System.Data. . :: . .CommandBehavior
A System.Data..::..CommandBehaviorenumeration value that indicates the behavior of the AdomdCommand during or after the command runs.
注释
The values CommandBehavior.KeyInfo and CommandBehavior.SingleResult are not supported, and are ignored.