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 Methods

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

Public:

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.

Protected:

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.]

Event Hookup:

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