Поделиться через


Метод Add

Adds a ForeignKey object to the foreign key collection.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub Add ( _
    foreignKey As ForeignKey _
)
'Применение
Dim instance As ForeignKeyCollection
Dim foreignKey As ForeignKey

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

Параметры