共用方式為


PackageUpgradeResult Class

Definition

Specifies the upgrade results for a package.

public ref class PackageUpgradeResult : Microsoft::SqlServer::Dts::Runtime::IDTSEvents
public class PackageUpgradeResult : Microsoft.SqlServer.Dts.Runtime.IDTSEvents
type PackageUpgradeResult = class
    interface IDTSEvents
Public Class PackageUpgradeResult
Implements IDTSEvents
Inheritance
PackageUpgradeResult
Implements

Properties

Messages

Gets the warning messages or error messages associated with the upgrade results for a package.

Package

Gets an UpgradePackageInfo object for a package.

Status

Gets or sets the upgrade status for a package.

Methods

OnBreakpointHit(IDTSBreakpointSite, BreakpointTarget)

Called when a breakpoint is hit for the PackageUpgradeResult.

OnCustomEvent(TaskHost, String, String, Object[], String, Boolean)

Raises custom event for the PackageUpgradeResult.

OnError(DtsObject, Int32, String, String, String, Int32, String)

Raises an event when an error occurs.

OnExecutionStatusChanged(Executable, DTSExecStatus, Boolean)

Occurs when the execution status changes.

OnInformation(DtsObject, Int32, String, String, String, Int32, String, Boolean)

Called any time the task is required to provide information.

OnPostExecute(Executable, Boolean)

Called immediately after the execution logic of the task completes. This event is raised by a task or container immediately after it runs.

OnPostValidate(Executable, Boolean)

Called immediately after the validation logic of the task completes. This event is raised by a task after the task is validated.

OnPreExecute(Executable, Boolean)

Called when a task is about to execute.

OnPreValidate(Executable, Boolean)

Called when the actual validation logic of the task starts.

OnProgress(TaskHost, String, Int32, Int32, Int32, String, Boolean)

Called to update progress about task execution.

OnQueryCancel()

Called at any juncture in task processing where it is feasible to cancel execution.

OnTaskFailed(TaskHost)

Called by the task host when it fails.

OnVariableValueChanged(DtsContainer, Variable, Boolean)

Called by the run-time engine.

OnWarning(DtsObject, Int32, String, String, String, Int32, String)

Called any time the task is in a state that does not justify an error, but does warrant alerting the client.

Applies to