Share via


RelationalSyncProvider.Connection Property

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

This property is not CLS-compliant.  

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

Syntax

'Declaration
Public Overridable Property Connection As IDbConnection
'Usage
Dim instance As RelationalSyncProvider
Dim value As IDbConnection

value = instance.Connection

instance.Connection = value
public virtual IDbConnection Connection { get; set; }
public:
virtual 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 database.

See Also

Reference

RelationalSyncProvider Class
RelationalSyncProvider Members
Microsoft.Synchronization.Data Namespace