WrongPropertyValueException 构造函数 (String)

Initializes a new instance of the WrongPropertyValueException class with the specified message.

命名空间:  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 WrongPropertyValueException(message)
public WrongPropertyValueException(
    string message
)
public:
WrongPropertyValueException(
    String^ message
)
new : 
        message:string -> WrongPropertyValueException
public function WrongPropertyValueException(
    message : String
)

参数

  • message
    类型:System.String
    A String value that specifies the message text that is associated with the wrong property value exception.

示例

处理 SMO 异常

请参阅

参考

WrongPropertyValueException 类

WrongPropertyValueException 重载

Microsoft.SqlServer.Management.Smo 命名空间