Udostępnij za pośrednictwem


SqlCeSyncDescriptionBuilder.GetDescriptionForTable Method (String, Generic Collection, SqlCeConnection)

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)

Syntax

'Declaration
Public Shared Function GetDescriptionForTable ( _
    tableName As String, _
    columnNames As Collection(Of String), _
    connection As SqlCeConnection _
) As DbSyncTableDescription
'Usage
Dim tableName As String
Dim columnNames As Collection(Of String)
Dim connection As SqlCeConnection
Dim returnValue As DbSyncTableDescription

returnValue = SqlCeSyncDescriptionBuilder.GetDescriptionForTable(tableName, columnNames, connection)
public static DbSyncTableDescription GetDescriptionForTable (
    string tableName,
    Collection<string> columnNames,
    SqlCeConnection connection
)
public:
static DbSyncTableDescription^ GetDescriptionForTable (
    String^ tableName, 
    Collection<String^>^ columnNames, 
    SqlCeConnection^ connection
)
public static DbSyncTableDescription GetDescriptionForTable (
    String tableName, 
    Collection<String> columnNames, 
    SqlCeConnection connection
)
public static function GetDescriptionForTable (
    tableName : String, 
    columnNames : Collection<String>, 
    connection : SqlCeConnection
) : DbSyncTableDescription

Parameters

  • tableName
    The name of the table for which to retrieve a description.
  • columnNames
    A list of columns for which to retrieve information.
  • connection
    A SqlCeConnection object that contains a connection to the database.

Return Value

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

See Also

Reference

SqlCeSyncDescriptionBuilder Class
SqlCeSyncDescriptionBuilder Members
Microsoft.Synchronization.Data.SqlServerCe Namespace