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)

public:
SyncTable^ Add(
	String^ tableName, 
	SyncDirection direction
)

Parameters

tableName
Type: System::String
The name of the SyncTable object to add to the SyncTableCollection.
direction
Type: Microsoft.Synchronization.Data::SyncDirection
A SyncDirection enumeration value, which defines the direction of synchronization from the perspective of the client.

Return Value

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