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)
Syntax
'Declaration
Public Function BuildAdapter ( _
connection As SqlConnection _
) As DbSyncAdapter
'Usage
Dim instance As SqlSyncProviderAdapterConfiguration
Dim connection As SqlConnection
Dim returnValue As DbSyncAdapter
returnValue = instance.BuildAdapter(connection)
public DbSyncAdapter BuildAdapter (
SqlConnection connection
)
public:
DbSyncAdapter^ BuildAdapter (
SqlConnection^ connection
)
public DbSyncAdapter BuildAdapter (
SqlConnection connection
)
public function BuildAdapter (
connection : SqlConnection
) : DbSyncAdapter
Parameters
- connection
A SqlConnection object that contains a connection to the database.
Return Value
A DbSyncAdapter object that represents a table in a SQL Server database.
See Also
Reference
SqlSyncProviderAdapterConfiguration Class
SqlSyncProviderAdapterConfiguration Members
Microsoft.Synchronization.Data.SqlServer Namespace