The methods of the AdpCommand class are listed below. For a complete list of AdpCommand class members, see the AdpCommand Members topic.
Cancel | Attempts to cancel the execution of a AdpCommand. |
CreateParameter | Overloaded. Creates a new instance of a AdpParameter object. |
Dispose | Releases the resources used by the AdpCommand. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
ExecuteDataSet | Overloaded. Executes a Transact-SQL statement defined in CommandText property of AdpCommand and returns a DataSet object. |
ExecuteDataTable | Overloaded. Executes a Transact-SQL statement defined in CommandText property of AdpCommand and returns a DataTable object. |
ExecuteNonQuery | Executes a Transact-SQL statement against the connection and returns the number of rows affected. |
ExecuteReader | Overloaded. Sends the CommandText to the Connection and builds a AdpDataReader using one of the CommandBehavior values. |
ExecuteScalar | Executes the query, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Prepare | Creates a prepared version of the command on an instance of database server. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
AdpCommand Class | Advanced.Data.Provider Namespace