Partilhar via


Método Remove (ForeignKey)

Removes a ForeignKey object from the foreign key collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Remove ( _
    foreignKey As ForeignKey _
)
'Uso
Dim instance As ForeignKeyCollection
Dim foreignKey As ForeignKey

instance.Remove(foreignKey)
public void Remove(
    ForeignKey foreignKey
)
public:
void Remove(
    ForeignKey^ foreignKey
)
member Remove : 
        foreignKey:ForeignKey -> unit 
public function Remove(
    foreignKey : ForeignKey
)

Parâmetros