DbSyncForeignKeyConstraintCollection::Item Property (String)

Gets a DbSyncForeignKeyConstraint object with the specified name from the collection.

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

public:
property DbSyncForeignKeyConstraint^ default[String^ constraintName] {
	DbSyncForeignKeyConstraint^ get (String^ constraintName);
}

Parameters

constraintName
Type: System::String
The name of the constraint to add to the collection.

ExceptionCondition
ArgumentNullException

constraintName is a nullptr.

ArgumentException

constraintName is empty.

Show: