Partager via


AdomdCommand.ExecuteReader Method (CommandBehavior)

Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.

Espace de noms: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)

Syntaxe

'Déclaration
Public Function ExecuteReader ( _
     As CommandBehavior _
) As AdomdDataReader
public AdomdDataReader ExecuteReader (
    CommandBehavior 
)
public:
virtual AdomdDataReader^ ExecuteReader (
    CommandBehavior 
) sealed
public final AdomdDataReader ExecuteReader (
    CommandBehavior 
)
public final function ExecuteReader (
     : CommandBehavior
) : AdomdDataReader

Paramètres

Valeur de retour

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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdServer Namespace