SqlAlterDataLossError Constructor
Initializes a new instance of the SqlAlterDataLossError 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, _
sourceColumn As ISqlColumn, _
targetColumn As ISqlColumn _
)
public SqlAlterDataLossError(
string message,
int errorCode,
ErrorSeverity severity,
ISqlTable table,
ISqlColumn sourceColumn,
ISqlColumn targetColumn
)
public:
SqlAlterDataLossError(
String^ message,
int errorCode,
ErrorSeverity severity,
ISqlTable^ table,
ISqlColumn^ sourceColumn,
ISqlColumn^ targetColumn
)
new :
message:string *
errorCode:int *
severity:ErrorSeverity *
table:ISqlTable *
sourceColumn:ISqlColumn *
targetColumn:ISqlColumn -> SqlAlterDataLossError
public function SqlAlterDataLossError(
message : String,
errorCode : int,
severity : ErrorSeverity,
table : ISqlTable,
sourceColumn : ISqlColumn,
targetColumn : ISqlColumn
)
Parameters
- message
Type: System.String
- errorCode
Type: System.Int32
- severity
Type: Microsoft.Data.Schema.ErrorSeverity
- table
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlTable
- sourceColumn
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlColumn
- targetColumn
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlColumn
.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.