AdomdCommand.ExecuteReader Method (CommandBehavior)
Runs the AdomdCommand using the specified System.Data.CommandBehaviorenumeration value and returns an AdomdDataReader.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
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
Parameter
- behavior
A System.Data.CommandBehaviorenumeration value that indicates the behavior of the AdomdCommand during or after the command runs.
Rückgabewert
An AdomdDataReader.
Hinweise
The values CommandBehavior.KeyInfo and CommandBehavior.SingleResult are not supported, and are ignored.
Threadsicherheit
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.
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace