Condividi tramite


Costruttore PropertyReadOnlyException (String)

Initializes a new instance of the PropertyReadOnlyException class for the specified property.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    propertyName As String _
)
'Utilizzo
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
)

Parametri

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

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

PropertyReadOnlyException Classe

Overload PropertyReadOnlyException

Spazio dei nomi Microsoft.SqlServer.Management.Smo