SyncSchemaForeignKeys::Contains Method

Determines whether a SyncSchemaForeignKey object with the specified name is in the collection.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public:
bool Contains(
	String^ constraintName
)

Parameters

constraintName
Type: System::String
The name of the SyncSchemaForeignKey object to search for in the SyncSchemaForeignKeys collection.

Return Value

Type: System::Boolean
true if the SyncSchemaForeignKey object exists in the collection. Otherwise, false.

ExceptionCondition
ArgumentNullException

constraintName is a nullptr.

Show: