Compartilhar via


Construtor ForeignKey

Initializes a new instance of the ForeignKey class.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New
'Uso

Dim instance As New ForeignKey()
public ForeignKey()
public:
ForeignKey()
new : unit -> ForeignKey
public function ForeignKey()

Comentários

The default constructor initializes any fields to their default values.

Exemplos

Criando, alterando e removendo chaves estrangeiras

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