SqlSyncAdapterBuilder.Connection Property

Gets or sets the connection to the server database.

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

Syntax

'Declaration
<DefaultValueAttribute(Nothing)> _
Public Property Connection As SqlConnection
[DefaultValueAttribute(null)] 
public SqlConnection Connection { get; set; }
[DefaultValueAttribute(nullptr)] 
public:
property SqlConnection^ Connection {
    SqlConnection^ get ();
    void set (SqlConnection^ value);
}
/** @property */
public SqlConnection get_Connection ()

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

public function set Connection (value : SqlConnection)

Property Value

A SqlConnection object that is used to connect to the server database.

Example

For a code example, see SqlSyncAdapterBuilder.

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

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