共用方式為


BatchUpgradeOptions.ValidationFailureAsError 屬性

Gets or sets the value that specifies whether to treat Integration Services packages that are not valid as errors or warnings.

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Property ValidationFailureAsError As Boolean 
    Get 
    Set
'用途
Dim instance As BatchUpgradeOptions 
Dim value As Boolean 

value = instance.ValidationFailureAsError

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

屬性值

型別:System.Boolean
A value that specifies whether to treat packages that are not valid as errors or warnings. The default value is true.

備註

Integration Services does not save upgraded packages that are not valid to the destination location. The StorageInfo class provides information about the destination location for upgraded packages.

請參閱

參考

BatchUpgradeOptions 類別

Microsoft.SqlServer.Dts.Runtime 命名空間