DtsSqlException 类

定义

在 SQL 任务中存在错误时引发的异常。

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
继承
DtsSqlException
属性

注解

当 SQL 任务中发生错误时, DtsException 类将实例化此类。

属性

ErrorCode

获取创建相应异常类的错误代码。 此字段为只读。

(继承自 DtsException)

适用于