Share via


DbServerSyncProvider.Connection Property

Gets or sets an IDbConnection object that is used to connect to the server database.

Namespace: Microsoft.Synchronization.Data.Server
Assembly: Microsoft.Synchronization.Data.Server (in microsoft.synchronization.data.server.dll)

Syntax

'Declaration
Public Property Connection As IDbConnection
'Usage
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);
}
/** @property */
public IDbConnection get_Connection ()

/** @property */
public void set_Connection (IDbConnection value)
public function get Connection () : IDbConnection

public function set Connection (value : IDbConnection)

Property Value

An IDbConnection object that is used to connect to the server database.

See Also

Reference

DbServerSyncProvider Class
DbServerSyncProvider Members
Microsoft.Synchronization.Data.Server Namespace