共用方式為


ConnectionException 建構 (String)

Initializes a new instance of the ConnectionException class with the specified message text.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Sub New ( _
    message As String _
)
'用途
Dim message As String

Dim instance As New ConnectionException(message)
public ConnectionException(
    string message
)
public:
ConnectionException(
    String^ message
)
new : 
        message:string -> ConnectionException
public function ConnectionException(
    message : String
)

參數