Share via


IScriptingOptions.ScriptForeignKeys Property

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

'Declaration
ReadOnly Property ScriptForeignKeys As Boolean
    Get
'Usage
Dim instance As IScriptingOptions
Dim value As Boolean

value = instance.ScriptForeignKeys
bool ScriptForeignKeys { get; }
property bool ScriptForeignKeys {
    bool get ();
}
abstract ScriptForeignKeys : bool
function get ScriptForeignKeys () : boolean

Property Value

Type: System.Boolean
true if the foreign key constraints are included in the script; otherwise, false.