Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- foreignKeyName
Type: System.String
The name of the SyncSchemaForeignKey object to remove from the SyncSchemaForeignKeys collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | foreignKeyName is a null reference (Nothing in Visual Basic) or the data set has no constraints table. |