Share via


ConnectionCannotBeChangedException コンストラクター (String)

指定されたメッセージ テキストを使用して、ConnectionCannotBeChangedException クラスの新しいインスタンスを初期化します。

名前空間:  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 ConnectionCannotBeChangedException(message)
public ConnectionCannotBeChangedException(
    string message
)
public:
ConnectionCannotBeChangedException(
    String^ message
)
new : 
        message:string -> ConnectionCannotBeChangedException
public function ConnectionCannotBeChangedException(
    message : String
)

パラメーター

  • message
    型: System.String
    例外の原因になったイベントを表すメッセージ テキストを示す String 値です。

関連項目

参照

ConnectionCannotBeChangedException クラス

ConnectionCannotBeChangedException オーバーロード

Microsoft.SqlServer.Management.Common 名前空間