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
    Get
    Set
'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);
}
member Connection : IDbConnection with get, set
function get Connection () : IDbConnection
function set Connection (value : IDbConnection)

Property Value

Type: System.Data.IDbConnection
An IDbConnection object that is used to connect to the server database.

See Also

Reference

DbServerSyncProvider Class

Microsoft.Synchronization.Data.Server Namespace