共用方式為


DtsNotAConnectionException Class

Definition

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.

public ref class DtsNotAConnectionException sealed : Microsoft::SqlServer::Dts::Runtime::DtsException
[System.Serializable]
public sealed class DtsNotAConnectionException : Microsoft.SqlServer.Dts.Runtime.DtsException
[<System.Serializable>]
type DtsNotAConnectionException = class
    inherit DtsException
Public NotInheritable Class DtsNotAConnectionException
Inherits DtsException
Inheritance
DtsNotAConnectionException
Attributes

Remarks

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

Properties

ErrorCode

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

(Inherited from DtsException)

Applies to