IScriptingOptions.ScriptForeignKeys Property

 

Applies To: SQL Server 2016 Preview

Gets a value indicating whether the script includes the foreign key constraints.

Namespace:   Microsoft.SqlServer.Management.UI.VSIntegration
Assembly:  SqlWorkbench.Interfaces (in SqlWorkbench.Interfaces.dll)

Syntax

bool ScriptForeignKeys { get; }
property bool ScriptForeignKeys {
    bool get();
}
abstract ScriptForeignKeys : bool with get
ReadOnly Property ScriptForeignKeys As Boolean

Property Value

Type: System.Boolean

true if the foreign key constraints are included in the script; otherwise, false.

See Also

IScriptingOptions Interface
Microsoft.SqlServer.Management.UI.VSIntegration Namespace

Return to top