Udostępnij przez


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

'Deklaracja
Public Property ValidationFailureAsError As Boolean
public bool ValidationFailureAsError { get; set; }
public:
property bool ValidationFailureAsError {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_ValidationFailureAsError ()

/** @property */
public void set_ValidationFailureAsError (boolean value)
public function get ValidationFailureAsError () : boolean

public function set ValidationFailureAsError (value : boolean)

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.