ForeignKey.ScriptReferencedTable Property

 

Gets or sets the Boolean value that specifies whether to script the table 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 ScriptReferencedTable { get; set; }

Property Value

Type: System.String

A Boolean value that specifies whether to script the table referenced by the foreign key.

If True, the table referenced in the foreign key is included in scripting operations.

If False (default), no attempt is made to include the table referenced by the foreign key in scripting operations.

Return to top
Show: