AdomdCommand.ExecuteReader Method (CommandBehavior)

 

Updated: March 10, 2016

Runs the AdomdCommand using the specified System.Data.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: 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.

Return to top
Show: