Compartir a través de


PropertyReadOnlyException Constructor (String)

Initializes a new instance of the PropertyReadOnlyException class for 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 PropertyReadOnlyException(propertyName)
public PropertyReadOnlyException(
    string propertyName
)
public:
PropertyReadOnlyException(
    String^ propertyName
)
new : 
        propertyName:string -> PropertyReadOnlyException
public function PropertyReadOnlyException(
    propertyName : String
)

Parámetros

  • propertyName
    Tipo: System.String
    A String value that specifies the name of the property that is read-only.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

PropertyReadOnlyException Clase

Sobrecarga de PropertyReadOnlyException

Espacio de nombres Microsoft.SqlServer.Management.Smo