SyncSchemaTables::Add Method

Adds a SyncSchemaTable object with the specified table name to the end of the collection.

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

public:
SyncSchemaTable^ Add(
	String^ name
)

Parameters

name
Type: System::String
The name of the SyncSchemaTable object to add to the SyncSchemaTables collection.

Return Value

Type: Microsoft.Synchronization.Data::SyncSchemaTable
The SyncSchemaTable object that was added to the collection.

ExceptionCondition
ArgumentNullException

name is a nullptr.

DuplicateNameException

name is the same as another table name in this SyncSchemaTables object.

Show: