AdomdCommand.IDbCommand.ExecuteReader Method (CommandBehavior)
Executes the CommandText against the Connection and builds an IDataReader using one of the CommandBehavior values.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Syntax
'Declaration
Private Function ExecuteReader ( _
b As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'Usage
Dim instance As AdomdCommand
Dim b As CommandBehavior
Dim returnValue As IDataReader
returnValue = CType(instance, IDbCommand).ExecuteReader(b)
IDataReader IDbCommand.ExecuteReader(
CommandBehavior b
)
private:
virtual IDataReader^ ExecuteReader(
CommandBehavior b
) sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader :
b:CommandBehavior -> IDataReader
private override ExecuteReader :
b:CommandBehavior -> IDataReader
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- b
Type: CommandBehavior
One of the CommandBehavior values.
Return Value
Type: IDataReader
An IDataReader object.
Implements
IDbCommandExecuteReader(CommandBehavior)