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.Execute (Object)

Executes the CommandText against the ActiveConnection and returns a result Object.

[Visual Basic]
Overloads Public Sub Execute( _
   ByRef retResult As Object _
)
[C#]
public void Execute(
   ref object retResult
);
[C++]
public: void Execute(
   Object** retResult
);
[JScript]
public function Execute(
   retResult : Object
);

Parameters

retResult
This will contain a valid Object on return from this method. If a valid Object cannot be granted, this will be set to null.

Remarks

Does not return a data stream.

Example

The following example refreshes the Parameters collection for the command.

See Also

SQLCommand Class | SQLCommand Members | System.Data.SQL Namespace | SQLCommand.Execute Overload List