SyncSchemaForeignKeys::Item Property (String)
Gets a SyncSchemaForeignKey object from the collection when given a foreign key constraint name.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public: property SyncSchemaForeignKey^ default[String^ foreignKeyName] { SyncSchemaForeignKey^ get (String^ foreignKeyName); }
Parameters
- foreignKeyName
- Type: System::String
The name of the SyncSchemaForeignKey object to return from the SyncSchemaForeignKeys collection.
Property Value
Type: Microsoft.Synchronization.Data::SyncSchemaForeignKeyThe SyncSchemaForeignKey object in the collection with the specified name; otherwise a null value if the foreign key constraint name does not exist.
| Exception | Condition |
|---|---|
| ArgumentNullException | foreignKeyName is a nullptr. |
Show: