Share via


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

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

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub New ( _
    message As String _
)
'使用
Dim message As String 

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

パラメーター

  • message
    型: System.String
    SMO 例外のメッセージ文字列を示す String 値です。

使用例

SMO 例外の処理

関連項目

参照

SmoException クラス

SmoException オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間