ForeignKeyColumnCollection.Add 메서드 (ForeignKeyColumn, Int32)
Adds a ForeignKeyColumn object at a specified index position in the foreign key column collection.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Add ( _
foreignKeyColumn As ForeignKeyColumn, _
insertAtPosition As Integer _
)
‘사용 방법
Dim instance As ForeignKeyColumnCollection
Dim foreignKeyColumn As ForeignKeyColumn
Dim insertAtPosition As Integer
instance.Add(foreignKeyColumn, insertAtPosition)
public void Add(
ForeignKeyColumn foreignKeyColumn,
int insertAtPosition
)
public:
void Add(
ForeignKeyColumn^ foreignKeyColumn,
int insertAtPosition
)
member Add :
foreignKeyColumn:ForeignKeyColumn *
insertAtPosition:int -> unit
public function Add(
foreignKeyColumn : ForeignKeyColumn,
insertAtPosition : int
)
매개 변수
- foreignKeyColumn
유형: Microsoft.SqlServer.Management.Smo.ForeignKeyColumn
A ForeignKeyColumn object value that is to be added into the foreign key column collection.
- insertAtPosition
유형: System.Int32
An Int32 value that specifies the index position of the foreign key column collection.