SqlSyncProviderAdapterConfiguration::BuildAdapter Method

Creates and returns a DbSyncAdapter object that represents a table in a SQL Server database.

Namespace:  Microsoft.Synchronization.Data.SqlServer
Assembly:  Microsoft.Synchronization.Data.SqlServer (in Microsoft.Synchronization.Data.SqlServer.dll)

public:
DbSyncAdapter^ BuildAdapter(
	SqlConnection^ connection
)

Parameters

connection
Type: System.Data.SqlClient::SqlConnection
A connection to the database.

Return Value

Type: Microsoft.Synchronization.Data::DbSyncAdapter
A DbSyncAdapter object that represents a table in a SQL Server database.

ExceptionCondition
ArgumentNullException

connection is nullptr.

Show: