ForeignKey Constructor
Initializes a new instance of the ForeignKey class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New ForeignKey()
public ForeignKey()
public:
ForeignKey()
new : unit -> ForeignKey
public function ForeignKey()
Remarks
The default constructor initializes any fields to their default values.
Examples
Creating, Altering, and Removing Foreign Keys
How to: Create, Alter, and Remove a Foreign Key in Visual Basic .NET
See Also