Udostępnij przez


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

'Deklaracja
Public Sub New
public ForeignKey ()
public:
ForeignKey ()
public ForeignKey ()
public function ForeignKey ()

Remarks

The default constructor initializes any fields to their default values.

Example

Creating, Altering, and Removing Foreign Keys

How to: Create, Alter, and Remove a Foreign Key in Visual Basic .NET

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.