SyncTableCollection::Add Method (String, TableCreationOption, SyncDirection)
Adds a SyncTable object with the specified table name, creation option, and synchronization direction to the end of the collection.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public:
SyncTable^ Add(
String^ tableName,
TableCreationOption creationOption,
SyncDirection direction
)
Parameters
- tableName
- Type: System::String
The name of the SyncTable object to add to the SyncTableCollection.
- creationOption
- Type: Microsoft.Synchronization.Data::TableCreationOption
A TableCreationOption enumeration value, which defines how table schemas are created in the client database.
- 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::SyncTableA SyncTable object for the specified table name.
Show: