SqlCeSyncDescriptionBuilder::GetDescriptionForTable Method (String, Collection<String>, )

Returns a DbSyncTableDescription object that contains schema information about the specified table in a SQL Server Compact database.

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

public:
static DbSyncTableDescription^ GetDescriptionForTable(
	String^ tableName, 
	Collection<String^>^ columnNames, 
	SqlCeConnection^ connection
)

Parameters

tableName
Type: System::String
The name of the table for which to retrieve a description.
columnNames
Type: System.Collections.ObjectModel::Collection<String>
A list of columns for which to retrieve information.
connection
Type: SqlCeConnection
A SqlCeConnection object that contains a connection to the database.

Return Value

Type: Microsoft.Synchronization.Data::DbSyncTableDescription
A DbSyncTableDescription object that contains schema information about the specified table in a SQL Server Compact database.

ExceptionCondition
ArgumentNullException

tableName or connection is a nullptr.

Show: