共用方式為


Add 方法 (ForeignKeyColumn)

Adds a ForeignKeyColumn object to the foreign key column collection.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Add ( _
    foreignKeyColumn As ForeignKeyColumn _
)
'用途
Dim instance As ForeignKeyColumnCollection
Dim foreignKeyColumn As ForeignKeyColumn

instance.Add(foreignKeyColumn)
public void Add(
    ForeignKeyColumn foreignKeyColumn
)
public:
void Add(
    ForeignKeyColumn^ foreignKeyColumn
)
member Add : 
        foreignKeyColumn:ForeignKeyColumn -> unit 
public function Add(
    foreignKeyColumn : ForeignKeyColumn
)

參數

範例

使用集合