Partilhar via


Construtor PropertyWriteException (String, String, String, String)

Initializes a new instance of the PropertyWriteException class with the specified property name, object kind, object name, and reason.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    propertyName As String, _
    objectKind As String, _
    objectName As String, _
    reason As String _
)
'Uso
Dim propertyName As String 
Dim objectKind As String 
Dim objectName As String 
Dim reason As String 

Dim instance As New PropertyWriteException(propertyName, _
    objectKind, objectName, reason)
public PropertyWriteException(
    string propertyName,
    string objectKind,
    string objectName,
    string reason
)
public:
PropertyWriteException(
    String^ propertyName, 
    String^ objectKind, 
    String^ objectName, 
    String^ reason
)
new : 
        propertyName:string * 
        objectKind:string * 
        objectName:string * 
        reason:string -> PropertyWriteException
public function PropertyWriteException(
    propertyName : String, 
    objectKind : String, 
    objectName : String, 
    reason : String
)

Parâmetros

Exemplos

Manipulando exceções SMO

Consulte também

Referência

PropertyWriteException Classe

Sobrecarregado PropertyWriteException

Namespace Microsoft.SqlServer.Management.Smo