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