Dela via


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)

Syntax

'Declaration
Public Sub Remove ( _
    foreignKeyName As String _
)
'Usage
Dim instance As SyncSchemaForeignKeys
Dim foreignKeyName As String

instance.Remove(foreignKeyName)
public void Remove(
    string foreignKeyName
)
public:
void Remove(
    String^ foreignKeyName
)
member Remove : 
        foreignKeyName:string -> unit 
public function Remove(
    foreignKeyName : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

foreignKeyName is a null reference (Nothing in Visual Basic) or the data set has no constraints table.

See Also

Reference

SyncSchemaForeignKeys Class

Microsoft.Synchronization.Data Namespace