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 (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    propertyName As String _
)
public PropertyReadOnlyException (
    string propertyName
)
public:
PropertyReadOnlyException (
    String^ propertyName
)
public PropertyReadOnlyException (
    String propertyName
)
public function PropertyReadOnlyException (
    propertyName : String
)

Parámetros

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

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

How to: Catch an Exception in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

PropertyReadOnlyException Class
PropertyReadOnlyException Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Handling SMO Exceptions