Compartir a través de


AdomdCommand.ExecuteReader Method (CommandBehavior)

Runs the AdomdCommand using the specified System.Data.CommandBehaviorenumeration value and returns an AdomdDataReader.

Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintaxis

'Declaración
Public Function ExecuteReader ( _
    behavior As CommandBehavior _
) As AdomdDataReader
public AdomdDataReader ExecuteReader (
    CommandBehavior behavior
)
public:
AdomdDataReader^ ExecuteReader (
    CommandBehavior behavior
)
public AdomdDataReader ExecuteReader (
    CommandBehavior behavior
)
public function ExecuteReader (
    behavior : CommandBehavior
) : AdomdDataReader

Parámetros

Valor devuelto

An AdomdDataReader.

Notas

The values CommandBehavior.KeyInfo and CommandBehavior.SingleResult are not supported, and are ignored.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace