PropertyWriteException Constructor (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 (in Microsoft.SqlServer.Smo.dll)

public PropertyWriteException(
	string propertyName,
	string objectKind,
	string objectName,
	string reason
)

Parameters

propertyName
Type: System.String

A String value that specifies the name of the property.

objectKind
Type: System.String

A String value that specifies the kind of object.

objectName
Type: System.String

A String value that specifies the name of the object.

reason
Type: System.String

A String value that specifies the reason for the exception.

Return to top
Show: