NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ADOCommand Members

Public:

Constructor

ADOCommand Constructor Overloaded. Initializes a new instance of the ADOCommand class.

Properties

ActiveConnection Gets or sets the ADOConnection used by this instance of the ADOCommand.
CommandBehavior Gets or sets the behavior the ADOCommand is to exhibit when executed.
CommandText Gets or sets the SQL command text to run against the data source.
CommandTimeout Gets or sets the time to wait while executing the command before terminating the attempt and generating an error.
CommandType (inherited from DBCommand) Gets or sets how the CommandText property is to be interpreted.
NamedParameters Gets or sets whether named parameters are being used.
Parameters Gets the collection of ADOParameters.
Properties Gets the collection of ADOProperties.
RowFetchCount Gets or sets how many rows of data to fetch at a time.
UpdatedRowSource (inherited from DBCommand) Gets or sets how command results are to be applied to the current DataRow, when used by the Update method of a DBDataSetCommand.

Methods

Cancel [To be supplied.]
Clone [To be supplied.]
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
Execute (inherited from DBCommand) Overloaded. Executes the command against the data source.
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 Object.
Prepare Creates a prepared (or compiled) version of the command on the data source.
ResetCommandTimeout Resets the CommandTimeout property to the default value.
ResetParameters Refreshes the collection of Parameters for the command.
ResetProperties Resets all ADOCommand properties to their defaults.
ShouldPersist (inherited from DBCommand) When overridden in a derived class, returns whether the settings of the properties should be persisted.
ShouldPersistCommandTimeout Determines whether the CommandTimeout should be persisted.
ToString (inherited from Object) Returns a String that represents the current Object.

Events

SchemaChanged (inherited from DBCommand) Occurs when the DataSet schema has been changed to match the schema change of the data source.
SchemaChanging (inherited from DBCommand) Occurs when the DataSet schema is to be changed to match the schema change of the data source.

Protected:

Methods

Close [To be supplied.]
CreateNewActiveConnection [To be supplied.]
CreateNewParameters [To be supplied.]
CreateNewProperties [To be supplied.]
CreateNewSchemaChangedEvent (inherited from DBCommand) [To be supplied.]
CreateNewSchemaChangingEvent (inherited from DBCommand) [To be supplied.]
Finalize [To be supplied.]
ForceExpandCommandText [To be supplied.]
GetActiveConnectionObject [To be supplied.]
GetParametersObject [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnSchemaChanged (inherited from DBCommand) Overloaded. [To be supplied.]
OnSchemaChanging (inherited from DBCommand) Overloaded. [To be supplied.]
SetActiveConnectionObject [To be supplied.]

Fields

cmdText (inherited from DBCommand) The default string to be used by the CommandText when the DBCommand is initialized.
cmdType (inherited from DBCommand) The default CommandType to be used by CommandType property when the DBCommand is initialized.

Event Hookup:

Methods

AddOnSchemaChanged (inherited from DBCommand) [To be supplied.]
AddOnSchemaChanging (inherited from DBCommand) [To be supplied.]
RemoveOnSchemaChanged (inherited from DBCommand) [To be supplied.]
RemoveOnSchemaChanging (inherited from DBCommand) [To be supplied.]

See Also

ADOCommand Class | System.Data.ADO Namespace