次の方法で共有


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

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

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

パラメーター

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

使用例

SMO 例外の処理

関連項目

参照

PropertyCannotBeRetrievedException クラス

PropertyCannotBeRetrievedException オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間