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

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULConnection class

 

CreateCommand method

Creates and initializes a ULCommand object associated with this connection and its current transaction. You can use the properties of the ULCommand to control its behavior.

Syntax
Visual Basic
Public Function CreateCommand() As ULCommand
C#
public ULCommand CreateCommand();
Return value

A new ULCommand object.

Remarks

You must set the ULCommand.CommandText before the command can be executed.

This is the strongly-typed version of System.Data.IDbConnection.CreateCommand and System.Data.Common.DbConnection.CreateCommand().

See also