Export (0) Print
Expand All

AdomdCommand.ExecuteReader Method (CommandBehavior)

Runs the AdomdCommand using the specified CommandBehaviorenumeration value and returns an AdomdDataReader.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

public AdomdDataReader ExecuteReader(
	CommandBehavior behavior
)

Parameters

behavior
Type: CommandBehavior
A 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.

Community Additions

ADD
Show:
© 2015 Microsoft