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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULCommand class

CommandType property Next Page

Connection property


The connection object on which to execute the ULCommand object.

Syntax

Visual Basic

Public Property Connection As ULConnection

C#

public ULConnection Connection { get; set; }

Property value

The ULConnection object on which to execute the command.

Remarks

ULCommand objects must have an open connection before they can be executed.

The default is a null reference (Nothing in Visual Basic).

This is the strongly-typed version of System.Data.IDbCommand.Connection and System.Data.Common.DbCommand.Connection.

See also