SyncSchemaForeignKeys::Item Property (String)

Gets a SyncSchemaForeignKey object from the collection when given a foreign key constraint name.

Namespace:  Microsoft.Synchronization.Data
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::SyncSchemaForeignKey
The SyncSchemaForeignKey object in the collection with the specified name; otherwise a null value if the foreign key constraint name does not exist.

ExceptionCondition
ArgumentNullException

foreignKeyName is a nullptr.

Show: