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
)

參數

範例

使用集合