Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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
'Usage
Dim instance As AdomdCommand
Dim behavior As CommandBehavior
Dim returnValue As AdomdDataReader
returnValue = instance.ExecuteReader(behavior)
public AdomdDataReader ExecuteReader(
CommandBehavior behavior
)
public:
AdomdDataReader^ ExecuteReader(
CommandBehavior behavior
)
member ExecuteReader :
behavior:CommandBehavior -> AdomdDataReader
public function ExecuteReader(
behavior : CommandBehavior
) : AdomdDataReader
Parameters
- behavior
Type: System.Data.CommandBehavior
A System.Data.CommandBehaviorenumeration value that indicates the behavior of the AdomdCommand during or after the command runs.
Return Value
Type: Microsoft.AnalysisServices.AdomdClient.AdomdDataReader
The data reader.
Remarks
The values CommandBehavior.KeyInfo and CommandBehavior.SingleResult are not supported, and are ignored.