Freigeben über


DbSyncColumnMappingCollection-Klasse

Stellt eine Auflistung von DbSyncColumnMapping-Objekten dar.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")> _
Public Class DbSyncColumnMappingCollection
    Inherits Collection(Of DbSyncColumnMapping)
'Usage
Dim instance As DbSyncColumnMappingCollection
[SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase")] 
public class DbSyncColumnMappingCollection : Collection<DbSyncColumnMapping>
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1706:ShortAcronymsShouldBeUppercase")] 
public ref class DbSyncColumnMappingCollection : public Collection<DbSyncColumnMapping^>
/** @attribute SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") */ 
public class DbSyncColumnMappingCollection extends Collection<DbSyncColumnMapping>
SuppressMessageAttribute("Microsoft.Naming", "CA1706:ShortAcronymsShouldBeUppercase") 
public class DbSyncColumnMappingCollection extends Collection<DbSyncColumnMapping>

Hinweise

Die Funktionen dieses Typs ähneln denen des DataColumnMappingCollection-Typs in ADO.NET. In Peer-to-Peer-Szenarien können die Schemas der einzelnen Peerdatenbanken unterschiedlich sein. Zum Beispiel kann ein Tabellenschema auf dem ersten Peer numerische Spaltennamen verwenden, die schwierig zu lesen sind. Sie können mithilfe des DbSyncColumnMapping-Objekts und des DbSyncColumnMappingCollection-Objekts den Spalten Namen zuordnen, die für andere Peers einfacher zu lesen sind.

Vererbungshierarchie

System.Object
   System.Collections.ObjectModel.Collection
    Microsoft.Synchronization.Data.DbSyncColumnMappingCollection

Threadsicherheit

Alle öffentlichen statischen (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

DbSyncColumnMappingCollection-Member
Microsoft.Synchronization.Data-Namespace