SyncTableCollection::Add Method (String, TableCreationOption)

Adds a SyncTable object with the specified table name and creation option to the end of the collection.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public:
SyncTable^ Add(
	String^ tableName, 
	TableCreationOption creationOption
)

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.

Return Value

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