Package.FailPackageOnFailure 属性
Gets or sets a value that indicates whether the package fails when a task or component in the package fails.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Property FailPackageOnFailure As Boolean
Get
Set
用法
Dim instance As Package
Dim value As Boolean
value = instance.FailPackageOnFailure
instance.FailPackageOnFailure = value
public bool FailPackageOnFailure { get; set; }
public:
property bool FailPackageOnFailure {
bool get ();
void set (bool value);
}
member FailPackageOnFailure : bool with get, set
function get FailPackageOnFailure () : boolean
function set FailPackageOnFailure (value : boolean)
属性值
类型:System.Boolean
true if the package fails when a task or component in the package fails; otherwise, false.