SyncAdapterCollection::Item Property (String)
Gets a SyncAdapter object from the collection when given a table name.
Assembly: Microsoft.Synchronization.Data.Server (in Microsoft.Synchronization.Data.Server.dll)
public: property SyncAdapter^ default[String^ tableName] { SyncAdapter^ get (String^ tableName); }
Parameters
- tableName
- Type: System::String
The name of the table. Specify the name to get the associated SyncAdapter from the SyncAdapterCollection.
Property Value
Type: Microsoft.Synchronization.Data.Server::SyncAdapterA SyncAdapter object for the specified table.
| Exception | Condition |
|---|---|
| ArgumentNullException | tableName is a nullptr. |
| ArgumentException | No SyncAdapter in this SyncAdapterCollection has a table name that matches tableName. |
Show: