Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SACommand class » SACommand constructors

 

SACommand(String, SAConnection) constructor

A SQL statement or stored procedure that is executed against a SQL Anywhere database.

Syntax
Visual Basic

Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As SAConnection _
)
C#

public  SACommand(
   string  cmdText,
   SAConnection connection
);
Parameters
  • cmdText   The text of the SQL statement or stored procedure. For parameterized statements, use a question mark (?) placeholder to pass parameters.

  • connection   The current connection.

See also