Classe PropertyReadOnlyException

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class PropertyReadOnlyException _
    Inherits SmoException
'Utilisation
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

Notes

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.