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!

SQLCommand Members

Public:

Constructor

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

Properties

ActiveConnection Gets or sets the SQLConnection used by this instance of the SQLCommand.
CommandBehavior Gets or sets the behavior the SQLCommand is to exhibit when executed.
CommandText Gets or sets the SQL text command to run against the data source.
CommandTimeout Gets or sets the wait time before terminating the attempt to connect and generating an error.
CommandType Gets or sets how the CommandText property is to be interpreted.
Parameters Gets the collection of SQLParameters.
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

Clone (inherited from DBCommand) When overridden in a derived class, creates a clone of this instance of DBCommand.
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 Overloaded. Executes the CommandText against the ActiveConnection.
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.
ResetParameters (inherited from DBCommand) When overridden in a derived class, resets the parameters within the parameters collection.
ShouldPersist (inherited from DBCommand) When overridden in a derived class, returns whether the settings of the properties 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

CreateNewSchemaChangedEvent (inherited from DBCommand) [To be supplied.]
CreateNewSchemaChangingEvent (inherited from DBCommand) [To be supplied.]
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
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

SQLCommand Class | System.Data.SQL Namespace