Aracılığıyla paylaş


WrongPropertyValueException Constructor (String)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub New ( _
    message As String _
)
'Kullanım
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
)

Parameters

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

Examples

Handling SMO Exceptions

See Also

Reference

WrongPropertyValueException Class

WrongPropertyValueException Overload

Microsoft.SqlServer.Management.Smo Namespace