SyncSchemaForeignKeys::Remove Method
Removes the first occurrence of a SyncSchemaForeignKey object with the specified name from the collection.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Parameters
- foreignKeyName
- Type: System::String
The name of the SyncSchemaForeignKey object to remove from the SyncSchemaForeignKeys collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | foreignKeyName is a nullptr or the data set has no constraints table. |
Show: