Share via


SyncTableCollection.Add Method (String, SyncDirection)

Adds a SyncTable object with the specified table name and synchronization direction 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, _
    direction As SyncDirection _
) As SyncTable
'Usage
Dim instance As SyncTableCollection
Dim tableName As String
Dim direction As SyncDirection
Dim returnValue As SyncTable

returnValue = instance.Add(tableName, _
    direction)
public SyncTable Add(
    string tableName,
    SyncDirection direction
)
public:
SyncTable^ Add(
    String^ tableName, 
    SyncDirection direction
)
member Add : 
        tableName:string * 
        direction:SyncDirection -> SyncTable 
public function Add(
    tableName : String, 
    direction : SyncDirection
) : SyncTable

Parameters

Return Value

Type: Microsoft.Synchronization.Data.SyncTable
A SyncTable object for the specified table name.

See Also

Reference

SyncTableCollection Class

Add Overload

Microsoft.Synchronization.Data Namespace