共用方式為


ConnectionException Members

The ConnectionException class is an exception that is raised when an error occurs on the connection to the instance of Microsoft SQL Server.

The following tables list the members exposed by the ConnectionException type.

Public Constructors

(see also Protected Constructors )

  名稱 Description
ConnectionException Overloaded. Initializes a new instance of the ConnectionException class.

頂端

Protected Constructors

  名稱 Description
ConnectionException Overloaded. Initializes a new instance of the ConnectionException class.

頂端

Public Properties

(see also Protected Properties )

  名稱 Description
ms218572.pubproperty(zh-tw,SQL.90).gif Data  (inherited from Exception )
ms218572.pubproperty(zh-tw,SQL.90).gif HelpLink  (inherited from Exception )
ms218572.pubproperty(zh-tw,SQL.90).gif InnerException  (inherited from Exception )
ms218572.pubproperty(zh-tw,SQL.90).gif Message  (inherited from Exception )
ms218572.pubproperty(zh-tw,SQL.90).gif Source  (inherited from Exception )
ms218572.pubproperty(zh-tw,SQL.90).gif StackTrace  (inherited from Exception )
ms218572.pubproperty(zh-tw,SQL.90).gif TargetSite  (inherited from Exception )

頂端

Protected Properties

  名稱 Description
ms218572.protproperty(zh-tw,SQL.90).gif HResult  (inherited from Exception )

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms218572.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms218572.pubmethod(zh-tw,SQL.90).gif GetBaseException  (inherited from Exception )
ms218572.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms218572.pubmethod(zh-tw,SQL.90).gif GetObjectData  (inherited from Exception )
ms218572.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Exception )
ms218572.pubmethod(zh-tw,SQL.90).gifms218572.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms218572.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Exception )

頂端

Protected Methods

  名稱 Description
ms218572.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms218572.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

ConnectionException Class
Microsoft.SqlServer.Management.Common Namespace

其他資源

Handling SMO Exceptions