ForeignKeyCollection.Remove 方法 (ForeignKey)

Removes a ForeignKey object from the foreign key collection.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Remove ( _
    foreignKey As ForeignKey _
)
用法
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
)

参数

示例

使用集合

请参阅

参考

ForeignKeyCollection 类

Remove 重载

Microsoft.SqlServer.Management.Smo 命名空间