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
声明
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 | |
|---|---|---|
![]()  | 
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
![]()  | 
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
![]()  | 
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
![]()  | 
GetType | Gets the Type of the current instance. (Inherited from Object.) | 
![]()  | 
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
![]()  | 
ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]()  | 
Prepared | Indicates a prepared command type, where the command text is an identifier previously returned by a call to the Prepare 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. | 
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.
.gif)
.gif)
.gif)
.gif)