PackageClass.FailPackageOnFailure 屬性
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Gets or sets a value that indicates whether the package fails when a task or component in the package fails.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Property FailPackageOnFailure As Boolean
Get
Set
'用途
Dim instance As PackageClass
Dim value As Boolean
value = instance.FailPackageOnFailure
instance.FailPackageOnFailure = value
public virtual bool FailPackageOnFailure { get; set; }
public:
virtual property bool FailPackageOnFailure {
bool get ();
void set (bool value);
}
abstract FailPackageOnFailure : bool with get, set
override 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.
實作
IDTSContainer100.FailPackageOnFailure
備註
For more information, see Package.