Compartir a través de


PropertyNotSetException Constructor (String)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    propertyName As String _
)
'Uso
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
)

Parámetros

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

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

PropertyNotSetException Clase

Sobrecarga de PropertyNotSetException

Espacio de nombres Microsoft.SqlServer.Management.Smo