DtsSqlException Class

Definition

The exception that is thrown when there is an error in a SQL Task.

C#
[System.Serializable]
public class DtsSqlException : Microsoft.SqlServer.Dts.Runtime.DtsException
Inheritance
DtsSqlException
Attributes

Remarks

This class is instantiated by the DtsException class when an error occurs in a SQL Task.

Properties

ErrorCode

Gets the error code that creates the appropriate exception class. This field is read-only.

(Inherited from DtsException)

Applies to

Product Versions
SQL Server .NET SDK 2016, 2017, 2019