Метод Add (ForeignKeyColumn, String)
Adds a ForeignKeyColumn object to the position after a specified, existing ForeignKeyColumn object in the foreign key column collection.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Add ( _
foreignKeyColumn As ForeignKeyColumn, _
insertAtColumnName As String _
)
'Применение
Dim instance As ForeignKeyColumnCollection
Dim foreignKeyColumn As ForeignKeyColumn
Dim insertAtColumnName As String
instance.Add(foreignKeyColumn, insertAtColumnName)
public void Add(
ForeignKeyColumn foreignKeyColumn,
string insertAtColumnName
)
public:
void Add(
ForeignKeyColumn^ foreignKeyColumn,
String^ insertAtColumnName
)
member Add :
foreignKeyColumn:ForeignKeyColumn *
insertAtColumnName:string -> unit
public function Add(
foreignKeyColumn : ForeignKeyColumn,
insertAtColumnName : String
)
Параметры
- foreignKeyColumn
Тип Microsoft.SqlServer.Management.Smo. . :: . .ForeignKeyColumn
A ForeignKeyColumn object value that is to be added into the foreign key column collection.
- insertAtColumnName
Тип System. . :: . .String
A String value that specifies the name of the existing ForeignKeyColumn object in the collection after which to insert the new ForeignKeyColumn object.