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)
Syntax
'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property ReferencedKey As String
Get
'Usage
Dim instance As ForeignKey
Dim value As String
value = instance.ReferencedKey
[SfcPropertyAttribute]
public string ReferencedKey { get; }
[SfcPropertyAttribute]
public:
property String^ ReferencedKey {
String^ get ();
}
[<SfcPropertyAttribute>]
member ReferencedKey : string
function get ReferencedKey () : String
Property Value
Type: System.String
A String value that specifies the primary key referenced by the foreign key.
See Also