ForeignKey.ReferencedKey Property

 

Gets the primary key referenced by the foreign key.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase)]
public string ReferencedKey { get; }

Property Value

Type: System.String

A String value that specifies the primary key referenced by the foreign key.

Return to top
Show: