Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a ForeignKey object to the foreign key collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
foreignKey As ForeignKey _
)
'Usage
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
)
Parameters
- foreignKey
Type: Microsoft.SqlServer.Management.Smo.ForeignKey
A ForeignKey object value that is to be added into the foreign key collection.