Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehaviour values.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)
Syntax
'Declaration
Private Function ExecuteReader ( _
behavior As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'Usage
Dim instance As AdomdCommand
Dim behavior As CommandBehavior
Dim returnValue As IDataReader
returnValue = CType(instance, IDbCommand).ExecuteReader(behavior)
IDataReader IDbCommand.ExecuteReader(
CommandBehavior behavior
)
private:
virtual IDataReader^ ExecuteReader(
CommandBehavior behavior
) sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader :
behavior:CommandBehavior -> IDataReader
private override ExecuteReader :
behavior:CommandBehavior -> IDataReader
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- behavior
Type: System.Data.CommandBehavior
One of the enumeration values of CommandBehaviour.
Return Value
Type: System.Data.IDataReader
An IDataReader object.
Implements
IDbCommand.ExecuteReader(CommandBehavior)