Condividi tramite


AdomdCommand.ExecuteReader Method (CommandBehavior)

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

Spazio dei nomi: Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (in msmgdsrv.dll)

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

An AdomdDataReader.

Osservazioni

The values, CommandBehavior.KeyInfo and CommandBehavior.SingleResult, are not supported and are ignored. For more information about CommandBehavior, see System.Data.CommandBehavior.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdServer Namespace