SyncSchemaTables::Add Method
Adds a SyncSchemaTable object with the specified table name to the end of the collection.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Parameters
- name
- Type: System::String
The name of the SyncSchemaTable object to add to the SyncSchemaTables collection.
Return Value
Type: Microsoft.Synchronization.Data::SyncSchemaTableThe SyncSchemaTable object that was added to the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is a nullptr. |
| DuplicateNameException | name is the same as another table name in this SyncSchemaTables object. |
Show: