Compartir a través de


SqlCeClientSyncProvider.Connection Property

Gets the IDbConnection object that is used to connect to the client database.

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

Syntax

'Declaration
Public ReadOnly Property Connection As IDbConnection
public IDbConnection Connection { get; }
public:
property IDbConnection^ Connection {
    IDbConnection^ get ();
}
/** @property */
public IDbConnection get_Connection ()
public function get Connection () : IDbConnection

Property Value

An IDbConnection object that is used to connect to a Microsoft SQL Server Compact database.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

SqlCeClientSyncProvider Class
SqlCeClientSyncProvider Members
Microsoft.Synchronization.Data.SqlServerCe Namespace