Delen via


ScriptOption.DriDefaults Property

Gets an object value that specifies whether dependency relationships defined in defaults 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 DriDefaults As ScriptOption
    Get
'Usage
Dim value As ScriptOption

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

Property Value

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

Examples

Scripting