Share via


BusinessLogicTransaction.Connection Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the IDbConnection object associated with the transaction.

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

Syntax

'Declaration
Public ReadOnly Property Connection As IDbConnection 
    Get
'Usage
Dim instance As BusinessLogicTransaction 
Dim value As IDbConnection 

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

Property Value

Type: System.Data.IDbConnection
The IDbConnection object associated with the transaction.

Implements

IDbTransaction.Connection

See Also

Reference

BusinessLogicTransaction Class

Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace