Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a set of predefined data command types.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Data.DataCommandType
Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public NotInheritable Class DataCommandType
public sealed class DataCommandType
public ref class DataCommandType sealed
[<Sealed>]
type DataCommandType =  class end
public final class DataCommandType
The DataCommandType type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
| .gif) .gif) | Prepared | Indicates a prepared command type, where the command text is an identifier previously returned by a call to the Prepare method. | 
| .gif) .gif) | Procedure | Indicates a procedure command type, where the command text is the name of the procedure to be executed. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | Table | Indicates a table command type, where the command text is the identifier of a table from which all results should be retrieved. | 
| .gif) .gif) | TabularFunction | Indicates a tabular function command type, where the command text is the identifier of a function to execute that returns a result set. | 
| .gif) .gif) | Text | Indicates a text command type, where the command text should be native code understood by the DDEX provider, for example, SQL. | 
Top
Remarks
The set of command types defined by this class are not intended to be a complete list but rather a simple means for identifying base types likely to be supported by many DDEX providers. For future additions, the numbers 1-99 are reserved for values in this enumeration. Numbers 100+ can be used for provider-specific command types.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.