Share via


BatchUpgradeOptions.ValidationFailureAsError Property

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Property ValidationFailureAsError As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

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.

See Also

Reference

BatchUpgradeOptions Class

Microsoft.SqlServer.Dts.Runtime Namespace