Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DtsContainer.ForceExecutionResult Property

 

Applies To: SQL Server 2016 Preview

Gets or sets a DTSForcedExecResult enumeration value that specifies the forced execution result of the container.

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

public DTSForcedExecResult ForceExecutionResult { get; set; }

Property Value

Type: Microsoft.SqlServer.Dts.Runtime.DTSForcedExecResult

A DTSForcedExecResult enumeration that reports the forced success or failure of the package or container. The default value of this property is None, which indicates that the container does not force its execution outcome.

You can use the ForceExecutionResult property on a task or container to test the use of checkpoints in a package. By setting ForceExecutionResult of the task or container to Failure, you can imitate real-time failure. When you rerun the package, failed task and containers will be rerun. For more information, see Restart Packages by Using Checkpoints.

Return to top
Show:
© 2015 Microsoft