共用方式為


DriAllConstraints 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property DriAllConstraints As ScriptOption
    Get
'用途
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

屬性值

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

範例

指令碼