Share via


PropertyCannotBeRetrievedException Constructor (String)

Initializes a new instance of the PropertyCannotBeRetrievedException 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 PropertyCannotBeRetrievedException(message)
public PropertyCannotBeRetrievedException(
    string message
)
public:
PropertyCannotBeRetrievedException(
    String^ message
)
new : 
        message:string -> PropertyCannotBeRetrievedException
public function PropertyCannotBeRetrievedException(
    message : String
)

Parameters

  • message
    Type: System.String
    A String value that specifies the message string for the Property Cannot Be Retrieved exception.

Examples

Handling SMO Exceptions

See Also

Reference

PropertyCannotBeRetrievedException Class

PropertyCannotBeRetrievedException Overload

Microsoft.SqlServer.Management.Smo Namespace