Freigeben über


PropertyNotSetException-Konstruktor (String)

Initializes a new instance of the PropertyNotSetException class with the specified property.

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

Syntax

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

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

Parameter

  • propertyName
    Typ: System.String
    A String value that specifies the name of the property is not set.

Beispiele

Behandeln von SMO-Ausnahmen

Siehe auch

Verweis

PropertyNotSetException Klasse

PropertyNotSetException-Überladung

Microsoft.SqlServer.Management.Smo-Namespace