ScriptObjectModel.Results Enumeration

Defines the constants used to report the execution result of the Script task to the run-time engine.

Namespace: Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

public enum Results
public enum Results
public enum Results

Member nameDescription
FailureEquivalent to Failure.
SuccessEquivalent to Success.

The following code sample uses the global Dts object available within the Script task to return a value from the ScriptObjectModel.Results enumeration.

  Dts.TaskResult = Dts.Results.Success;

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions