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 (IDataReader)

Executes the CommandText against the ActiveConnection and builds an IDataReader.

[Visual Basic]
Overloads Overrides Public Sub Execute( _
   ByRef reader As IDataReader _
)
[C#]
public override void Execute(
   ref IDataReader reader
);
[C++]
public: override void Execute(
   IDataReader** reader
);
[JScript]
public override function Execute(
   reader : IDataReader
);

Parameters

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

Exceptions

Exception Type Condition
Exception The command could not be executed.

See Also

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