Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a SyncTable object with the specified table name, creation option, synchronization direction, and synchronization group to the end of the collection.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Function Add ( _
    tableName As String, _
    creationOption As TableCreationOption, _
    direction As SyncDirection, _
    syncGroup As SyncGroup _
) As SyncTable
'Usage
Dim instance As SyncTableCollection
Dim tableName As String
Dim creationOption As TableCreationOption
Dim direction As SyncDirection
Dim syncGroup As SyncGroup
Dim returnValue As SyncTable
returnValue = instance.Add(tableName, creationOption, direction, syncGroup)
public SyncTable Add (
    string tableName,
    TableCreationOption creationOption,
    SyncDirection direction,
    SyncGroup syncGroup
)
public:
SyncTable^ Add (
    String^ tableName, 
    TableCreationOption creationOption, 
    SyncDirection direction, 
    SyncGroup^ syncGroup
)
public SyncTable Add (
    String tableName, 
    TableCreationOption creationOption, 
    SyncDirection direction, 
    SyncGroup syncGroup
)
public function Add (
    tableName : String, 
    creationOption : TableCreationOption, 
    direction : SyncDirection, 
    syncGroup : SyncGroup
) : SyncTable
Parameters
- tableName
 The name of the SyncTable object to add to the SyncTableCollection.
- creationOption
 A TableCreationOption enumeration value, which defines how table schemas are created in the client database.
- direction
 A SyncDirection enumeration value, which defines the direction of synchronization from the perspective of the client.
- syncGroup
 A SyncGroup object, which is used to group changes when they are applied.
Return Value
A SyncTable object for the specified table name.
See Also
Reference
SyncTableCollection Class
SyncTableCollection Members
Microsoft.Synchronization.Data Namespace