共用方式為


BusinessLogicCommand.Connection 屬性

Gets or sets the connection to the data source.

命名空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
組件:  Microsoft.SqlServer.Replication.BusinessLogicSupport (在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)

語法

'宣告
Public Property Connection As IDbConnection 
    Get 
    Set
'用途
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)

屬性值

型別:System.Data.IDbConnection
The connection to the data source.

實作

IDbCommand.Connection

請參閱

參考

BusinessLogicCommand 類別

Microsoft.SqlServer.Replication.BusinessLogicSupport 命名空間