PropertyTypeMismatchException Constructor (String)

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

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

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

Parameters

  • message
    Type: System.String
    A String value that specifies the message string for the property type mismatch exception.

Examples

Handling SMO Exceptions

See Also

Reference

PropertyTypeMismatchException Class

PropertyTypeMismatchException Overload

Microsoft.SqlServer.Management.Smo Namespace