DataCommandType Class

Definition

Represents a set of predefined data command types.

public ref class DataCommandType sealed
public sealed class DataCommandType
type DataCommandType = class
Public NotInheritable Class DataCommandType
Inheritance
DataCommandType

Fields

Prepared

Indicates a prepared command type, where the command text is an identifier previously returned by a call to the Prepare(String, Int32, Int32) method.

Procedure

Indicates a procedure command type, where the command text is the name of the procedure to be executed.

ScalarFunction

Indicates a scalar function command type, where the command text is the identifier of a function to be executed that returns a scalar value.

Table

Indicates a table command type, where the command text is the identifier of a table from which all results should be retrieved.

TabularFunction

Indicates a tabular function command type, where the command text is the identifier of a function to execute that returns a result set.

Text

Indicates a text command type, where the command text should be native code understood by the DDEX provider, for example, SQL.

Applies to