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)

public static ScriptOption DriForeignKeys { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption

A ScriptOption object that represents the DriForeignKeys in the scripting options.

Return to top