ForeignKeyColumn Constructor (ForeignKey, String)

 

Initializes a new instance of the ForeignKeyColumn class based on the specified foreign key with the specified name.

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

public ForeignKeyColumn(
	ForeignKey foreignKey,
	string name
)

Parameters

foreignKey
Type: Microsoft.SqlServer.Management.Smo.ForeignKey

A ForeignKey object on which to base the new instance.

name
Type: System.String

A String value that specifies the name of the column.

Return to top
Show: