DbSyncAdapterCollection::Item Property (String)
Gets a DbSyncAdapter object from the collection when given a table name.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public: property DbSyncAdapter^ default[String^ tableName] { DbSyncAdapter^ get (String^ tableName); }
Parameters
- tableName
- Type: System::String
The name of the table. Specify the name to get the associated DbSyncAdapter object from DbSyncAdapterCollection.
Property Value
Type: Microsoft.Synchronization.Data::DbSyncAdapterA DbSyncAdapter object for the specified table.
| Exception | Condition |
|---|---|
| ArgumentNullExcpeption | tableName is a nullptr. |
| ArgumentException | This DbSyncAdapterCollection object did not contain a table with name tableName. |
Show: