共用方式為


SqlSchemaDeploymentOptions.UnmodifiableObjectWarnings 屬性

取得或設定值,這個值表示部署變更時是否應對不可修改的物件產生警告。

命名空間:  Microsoft.Data.Schema.Sql.Build
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Public Property UnmodifiableObjectWarnings As Boolean
    Get
    Set
public bool UnmodifiableObjectWarnings { get; set; }
public:
property bool UnmodifiableObjectWarnings {
    bool get ();
    void set (bool value);
}
member UnmodifiableObjectWarnings : bool with get, set
function get UnmodifiableObjectWarnings () : boolean
function set UnmodifiableObjectWarnings (value : boolean)

屬性值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

SqlSchemaDeploymentOptions 類別

Microsoft.Data.Schema.Sql.Build 命名空間