ForeignKey.ReferencedTable Property


Gets or sets the table that contains the primary key referenced by the foreign key.

This API is not CLS-compliant.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)]
[SfcReferenceAttribute(typeof(Table), "Server[@Name='{0}']/Database[@Name='{1}']/Table[@Name='{2}' and @Schema='{3}']", 
	new string[] { ... })]
public string ReferencedTable { get; set; }

Property Value

Type: System.String

A String value that specifies the referenced table.

Return to top