Share via


ScriptOption.DriForeignKeys Property

Gets an object value that specifies whether dependency relationships defined in foreign keys with enforced declarative referential integrity are included in the script.

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

Syntax

'Declaration
Public Shared ReadOnly Property DriForeignKeys As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.DriForeignKeys
public static ScriptOption DriForeignKeys { get; }
public:
static property ScriptOption^ DriForeignKeys {
    ScriptOption^ get ();
}
static member DriForeignKeys : ScriptOption
static function get DriForeignKeys () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DriForeignKeys in the scripting options.

Examples

Scripting