ExecuteReader méthode (CommandBehavior)
Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (dans msmgdsrv.dll)
Syntaxe
'Déclaration
Public Function ExecuteReader ( _
As CommandBehavior _
) As AdomdDataReader
'Utilisation
Dim instance As AdomdCommand
Dim As CommandBehavior
Dim returnValue As AdomdDataReader
returnValue = instance.ExecuteReader()
public AdomdDataReader ExecuteReader(
CommandBehavior
)
public:
virtual AdomdDataReader^ ExecuteReader(
CommandBehavior
) sealed
abstract ExecuteReader :
:CommandBehavior -> AdomdDataReader
override ExecuteReader :
:CommandBehavior -> AdomdDataReader
public final function ExecuteReader(
: CommandBehavior
) : AdomdDataReader
Paramètres
- __unnamed0
Type : System.Data. . :: . .CommandBehavior
A CommandBehavior enumeration value that indicates the behavior of the AdomdCommand during or after running the command.
Valeur de retour
Type : Microsoft.AnalysisServices.AdomdServer. . :: . .AdomdDataReader
An AdomdDataReader.
Notes
The values, CommandBehavior.KeyInfo and CommandBehavior.SingleResult, are not supported and are ignored. For more information about CommandBehavior, see System.Data..::..CommandBehavior.