次の方法で共有


DtsSqlException クラス

SQL タスクにエラーが発生した場合にスローされる例外です。

継承階層

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Dts.Runtime. . :: . .DtsException
      Microsoft.SqlServer.Dts.Runtime..::..DtsSqlException

名前空間:  Microsoft.SqlServer.Dts.Runtime
アセンブリ:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)

構文

'宣言
<SerializableAttribute> _
Public Class DtsSqlException _
    Inherits DtsException
'使用
Dim instance As DtsSqlException
[SerializableAttribute]
public class DtsSqlException : DtsException
[SerializableAttribute]
public ref class DtsSqlException : public DtsException
[<SerializableAttribute>]
type DtsSqlException =  
    class
        inherit DtsException
    end
public class DtsSqlException extends DtsException

DtsSqlException 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ Data (Exception から継承されています。)
パブリック プロパティ ErrorCode 適切な例外クラスを作成するエラー コードを取得します。このフィールドは読み取り専用です。 (DtsException から継承されています。)
パブリック プロパティ HelpLink (Exception から継承されています。)
プロテクト プロパティ HResult (Exception から継承されています。)
パブリック プロパティ InnerException (Exception から継承されています。)
パブリック プロパティ Message (Exception から継承されています。)
パブリック プロパティ Source (Exception から継承されています。)
パブリック プロパティ StackTrace (Exception から継承されています。)
パブリック プロパティ TargetSite (Exception から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Equals (Object から継承されています。)
プロテクト メソッド Finalize (Object から継承されています。)
パブリック メソッド GetBaseException (Exception から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetObjectData (Exception から継承されています。)
パブリック メソッド GetType (Exception から継承されています。)
プロテクト メソッド MemberwiseClone (Object から継承されています。)
パブリック メソッド ToString (Exception から継承されています。)

先頭に戻る

説明

SQL タスクでエラーが発生すると、このクラスは DtsException クラスによりインスタンス化されます。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。