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!

DBCommand.Execute ()

Executes the command against the data source. This is the default method.

[Visual Basic]
Overloads Overridable Public Function Execute() As Integer
[C#]
public virtual int Execute();
[C++]
public: virtual int Execute();
[JScript]
public function Execute() : int;

Exceptions

Exception Type Condition
ExecuteRequiresConnection The connection does not exist.
ExecuteRequiresOpenConnection The connection is not open.

Remarks

Notes to Inheritors: When overriding Execute in a derived class, be sure to call the base class's Execute method.

See Also

DBCommand Class | DBCommand Members | System.Data.Internal Namespace | DBCommand.Execute Overload List