Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Enumeration Results
public enum Results
public enum class Results
public enum Results
public enum Results
Members
Member name | Description |
---|---|
Failure | Equivalent to Failure. |
Success | Equivalent to Success. |
Example
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;
Dts.TaskResult = Dts.Results.Success
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.