共用方式為


DriAllConstraints 屬性

取得物件值,指定產生的指令碼中是否包含所有的 DRI 條件約束。

命名空間:  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
ScriptOption 物件,代表指令碼選項中的 DriAllConstraints

範例

指令碼