DtsContainer.ForceExecutionResult 속성

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public Property ForceExecutionResult As DTSForcedExecResult 
    Get 
    Set
‘사용 방법
Dim instance As DtsContainer 
Dim value As DTSForcedExecResult 

value = instance.ForceExecutionResult

instance.ForceExecutionResult = value
public DTSForcedExecResult ForceExecutionResult { get; set; }
public:
property DTSForcedExecResult ForceExecutionResult {
    DTSForcedExecResult get ();
    void set (DTSForcedExecResult value);
}
member ForceExecutionResult : DTSForcedExecResult with get, set
function get ForceExecutionResult () : DTSForcedExecResult 
function set ForceExecutionResult (value : DTSForcedExecResult)

속성 값

유형: 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 검사점을 사용하여 패키지 다시 시작.

참고 항목

참조

DtsContainer 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스