Compartir a través de


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
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.

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

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