Freigeben über


MissingPropertyException-Konstruktor (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
)

Parameter

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

MissingPropertyException Klasse

MissingPropertyException-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace