Dela via


ScriptOption.DriAllConstraints Property

Gets an object value that specifies whether all DRI constraints are included in the generated script.

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

Syntax

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

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

Property Value

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

Examples

Scripting