共用方式為


DtsSqlException Class

Definition

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

public ref class DtsSqlException : Microsoft::SqlServer::Dts::Runtime::DtsException
[System.Serializable]
public class DtsSqlException : Microsoft.SqlServer.Dts.Runtime.DtsException
[<System.Serializable>]
type DtsSqlException = class
    inherit DtsException
Public Class DtsSqlException
Inherits 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