Advanced.Data.Provider Documentation

AdpCommand Methods

[This is preliminary documentation and subject to change.]

The methods of the AdpCommand class are listed below. For a complete list of AdpCommand class members, see the AdpCommand Members topic.

Public Instance Methods

Cancel Attempts to cancel the execution of a AdpCommand.
CreateParameterOverloaded. 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.
ExecuteDataSetOverloaded. Executes a Transact-SQL statement defined in CommandText property of AdpCommand and returns a DataSet object.
ExecuteDataTableOverloaded. 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.
ExecuteReaderOverloaded. 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.

Protected Instance Methods

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.

See Also

AdpCommand Class | Advanced.Data.Provider Namespace