共用方式為


DacDeployOptions.TreatVerificationErrorsAsWarnings 屬性

Get or set boolean that specifies whether the deployment operation should proceed when errors are generated during plan verification.

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

語法

'宣告
Public Property TreatVerificationErrorsAsWarnings As Boolean 
    Get 
    Set
'用途
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.TreatVerificationErrorsAsWarnings

instance.TreatVerificationErrorsAsWarnings = value
public bool TreatVerificationErrorsAsWarnings { get; set; }
public:
property bool TreatVerificationErrorsAsWarnings {
    bool get ();
    void set (bool value);
}
member TreatVerificationErrorsAsWarnings : bool with get, set
function get TreatVerificationErrorsAsWarnings () : boolean 
function set TreatVerificationErrorsAsWarnings (value : boolean)

屬性值

型別:System.Boolean
True to continue if errors are generated during plan verification; otherwise, false. Default is false.

請參閱

參考

DacDeployOptions 類別

Microsoft.SqlServer.Dac 命名空間