ForeignKeyColumn Constructor (ForeignKey, String, String)

 

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

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

public ForeignKeyColumn(
	ForeignKey foreignKey,
	string name,
	string referencedColumn
)

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.

referencedColumn
Type: System.String

A String value that specifies the referenced column.

Return to top
Show: