Share via


SyncTableCollection Class

Represents a collection of SyncTable objects.

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

Syntax

'Declaration
<SerializableAttribute> _
<DefaultMemberAttribute("Item")> _
Public Class SyncTableCollection
    Inherits Collection(Of SyncTable)
'Usage
Dim instance As SyncTableCollection
[SerializableAttribute] 
[DefaultMemberAttribute("Item")] 
public class SyncTableCollection : Collection<SyncTable>
[SerializableAttribute] 
[DefaultMemberAttribute(L"Item")] 
public ref class SyncTableCollection : public Collection<SyncTable^>
/** @attribute SerializableAttribute() */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public class SyncTableCollection extends Collection<SyncTable>
SerializableAttribute 
DefaultMemberAttribute("Item") 
public class SyncTableCollection extends Collection<SyncTable>

Remarks

The SyncTableCollection enforces the following semantics:

  • The order of SyncTable objects in the collection determines the order in which tables are synchronized.

  • Only one SyncTable object for a given table name can exist in the collection if the table does not have a SyncGroup reference.

  • The SyncTableCollection allows two or more SyncTable objects with the same table name if the tables belong to different SyncGroup objects.

Inheritance Hierarchy

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SyncTableCollection Members
Microsoft.Synchronization.Data Namespace