This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.