MissingPropertyException Constructor (String)

Initializes a new instance of the MissingPropertyException class that has the specified message text.

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

Syntax

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

Dim instance As New MissingPropertyException(propertyName)
public MissingPropertyException(
    string propertyName
)
public:
MissingPropertyException(
    String^ propertyName
)
new : 
        propertyName:string -> MissingPropertyException
public function MissingPropertyException(
    propertyName : String
)

Parameters

  • propertyName
    Type: System.String
    A String value that specifies the name of the missing property.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

Reference

MissingPropertyException Class

MissingPropertyException Overload

Microsoft.SqlServer.Management.Dmf Namespace