Partager via


Propriété ValidationFailureAsError

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Property ValidationFailureAsError As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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.