SqlCreateDataLossError Constructor
Initializes a new instance of the SqlCreateDataLossError class.
Namespace: Microsoft.Data.Schema.Sql.Build
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
errorCode As Integer, _
severity As ErrorSeverity, _
table As ISqlTable, _
newColumn As ISqlColumn _
)
public SqlCreateDataLossError(
string message,
int errorCode,
ErrorSeverity severity,
ISqlTable table,
ISqlColumn newColumn
)
public:
SqlCreateDataLossError(
String^ message,
int errorCode,
ErrorSeverity severity,
ISqlTable^ table,
ISqlColumn^ newColumn
)
new :
message:string *
errorCode:int *
severity:ErrorSeverity *
table:ISqlTable *
newColumn:ISqlColumn -> SqlCreateDataLossError
public function SqlCreateDataLossError(
message : String,
errorCode : int,
severity : ErrorSeverity,
table : ISqlTable,
newColumn : ISqlColumn
)
Parameters
- message
Type: System.String
The error message.
- errorCode
Type: System.Int32
The error code.
- severity
Type: Microsoft.Data.Schema.ErrorSeverity
Typically, this is a warning.
- table
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlTable
Source table.
- newColumn
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlColumn
The newly added column.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.