Share via


PropertyReadOnlyException Clase

The PropertyReadOnlyException class represents the exception that is raised when an attempt is made to set a read-only property.

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

Sintaxis

'Declaración
<SerializableAttribute> _
Public NotInheritable Class PropertyReadOnlyException _
    Inherits SmoException
'Uso
Dim instance As PropertyReadOnlyException
[SerializableAttribute]
public sealed class PropertyReadOnlyException : SmoException
[SerializableAttribute]
public ref class PropertyReadOnlyException sealed : public SmoException
[<SealedAttribute>]
[<SerializableAttribute>]
type PropertyReadOnlyException =  
    class
        inherit SmoException
    end
public final class PropertyReadOnlyException extends SmoException

Notas

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Jerarquía de herencia

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Smo. . :: . .SmoException
        Microsoft.SqlServer.Management.Smo..::..PropertyReadOnlyException

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.