ForeignKey.ScriptReferencedTableSchema Property

 

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

Property Value

Type: System.String

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

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

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

Return to top
Show: