ForeignKeyCollection.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
)
매개 변수
- foreignKey
유형: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that is to be added into the foreign key collection.