Partilhar via


DtsNotAConnectionException Class

The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class DtsNotAConnectionException
    Inherits DtsException
[SerializableAttribute] 
public sealed class DtsNotAConnectionException : DtsException
[SerializableAttribute] 
public ref class DtsNotAConnectionException sealed : public DtsException
/** @attribute SerializableAttribute() */ 
public final class DtsNotAConnectionException extends DtsException
SerializableAttribute 
public final class DtsNotAConnectionException extends DtsException

Remarks

This error is not useable in a try...catch block.

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.SqlServer.Dts.Runtime.DtsException
      Microsoft.SqlServer.Dts.Runtime.DtsNotAConnectionException

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

See Also

Reference

DtsNotAConnectionException Members
Microsoft.SqlServer.Dts.Runtime Namespace