Connection 屬性
取得或設定用來連接伺服器資料庫的 IDbConnection 物件。
命名空間: Microsoft.Synchronization.Data.Server
組件: Microsoft.Synchronization.Data.Server (在 Microsoft.Synchronization.Data.Server.dll 中)
語法
'宣告
Public Property Connection As IDbConnection
Get
Set
'用途
Dim instance As DbServerSyncProvider
Dim value As IDbConnection
value = instance.Connection
instance.Connection = value
public IDbConnection Connection { get; set; }
public:
property IDbConnection^ Connection {
IDbConnection^ get ();
void set (IDbConnection^ value);
}
member Connection : IDbConnection with get, set
function get Connection () : IDbConnection
function set Connection (value : IDbConnection)
屬性值
型別:System.Data. . :: . .IDbConnection
用來連接伺服器資料庫的 IDbConnection 物件。