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
'Usage
Dim instance As SqlSyncAdapterBuilder
Dim value As SqlConnection
value = instance.Connection
instance.Connection = value
[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.
See Also
Reference
SqlSyncAdapterBuilder Class
SqlSyncAdapterBuilder Members
Microsoft.Synchronization.Data.Server Namespace