Share via


ForeignKey.ReferencedTable Property

Gets or sets the table that contains 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 Property ReferencedTable As String
    Get
    Set
'Usage
Dim instance As ForeignKey
Dim value As String

value = instance.ReferencedTable

instance.ReferencedTable = value
[SfcPropertyAttribute]
public string ReferencedTable { get; set; }
[SfcPropertyAttribute]
public:
property String^ ReferencedTable {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member ReferencedTable : string with get, set
function get ReferencedTable () : String
function set ReferencedTable (value : String)

Property Value

Type: System.String
A String value that specifies the referenced table.