PropertyWriteException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PropertyWriteException() |
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException. |
PropertyWriteException(String) |
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException. |
PropertyWriteException(String, Exception) |
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException. |
PropertyWriteException(String, String, String, String) |
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException. |
PropertyWriteException()
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException ();
Public Sub New ()
Applies to
PropertyWriteException(String)
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException (string message);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (message As String)
Parameters
- message
- String
The message of the exception as string.
Applies to
PropertyWriteException(String, Exception)
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException (string message, Exception innerException);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string * Exception -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message of the exception as string.
- innerException
- Exception
The T:System.Exception instance that caused the current exception.
Applies to
PropertyWriteException(String, String, String, String)
Constructor for the T:Microsoft.SqlServer.Management.Smo.PropertyWriteException.
public PropertyWriteException (string propertyName, string objectKind, string objectName, string reason);
new Microsoft.SqlServer.Management.Smo.PropertyWriteException : string * string * string * string -> Microsoft.SqlServer.Management.Smo.PropertyWriteException
Public Sub New (propertyName As String, objectKind As String, objectName As String, reason As String)
Parameters
- propertyName
- String
The name as string of the blocked property that caused the exception.
- objectKind
- String
The kind of object as string of the blocked property.
- objectName
- String
The name of the object as string of the blocked property
- reason
- String
The reason for the property blockage.