SyncSchemaForeignKeys::Contains Method
Determines whether a SyncSchemaForeignKey object with the specified name is in the collection.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Parameters
- constraintName
- Type: System::String
The name of the SyncSchemaForeignKey object to search for in the SyncSchemaForeignKeys collection.
Return Value
Type: System::Booleantrue if the SyncSchemaForeignKey object exists in the collection. Otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | constraintName is a nullptr. |
Show: