BusinessLogicCommand.Connection Property

Gets or sets the connection to the data source.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (in Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Syntax

'Declaration
Public Property Connection As IDbConnection 
    Get 
    Set
'Usage
Dim instance As BusinessLogicCommand 
Dim value As IDbConnection 

value = instance.Connection

instance.Connection = value
public IDbConnection Connection { get; set; }
public:
virtual property IDbConnection^ Connection {
    IDbConnection^ get () sealed;
    void set (IDbConnection^ value) sealed;
}
abstract Connection : IDbConnection with get, set 
override Connection : IDbConnection with get, set
final function get Connection () : IDbConnection 
final function set Connection (value : IDbConnection)

Property Value

Type: System.Data.IDbConnection
The connection to the data source.

Implements

IDbCommand.Connection

See Also

Reference

BusinessLogicCommand Class

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace