SyncSchemaForeignKeys::Remove Method

Removes the first occurrence of a SyncSchemaForeignKey object with the specified name from the collection.

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

public:
void Remove(
	String^ foreignKeyName
)

Parameters

foreignKeyName
Type: System::String
The name of the SyncSchemaForeignKey object to remove from the SyncSchemaForeignKeys collection.

ExceptionCondition
ArgumentNullException

foreignKeyName is a nullptr or the data set has no constraints table.

Show: