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)
Syntax
'Declaration
Public Function Add ( _
tableName As String, _
creationOption As TableCreationOption _
) As SyncTable
public SyncTable Add (
string tableName,
TableCreationOption creationOption
)
public:
SyncTable^ Add (
String^ tableName,
TableCreationOption creationOption
)
public SyncTable Add (
String tableName,
TableCreationOption creationOption
)
public function Add (
tableName : String,
creationOption : TableCreationOption
) : 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.
Return Value
A SyncTable object for the specified table name.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).
Target Platforms
See Also
Reference
SyncTableCollection Class
SyncTableCollection Members
Microsoft.Synchronization.Data Namespace