SqlDropDataLossError Constructor
Initializes a new instance of the SqlDropDataLossError 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, _
targetColumn As ISqlColumn _
)
public SqlDropDataLossError(
string message,
int errorCode,
ErrorSeverity severity,
ISqlTable table,
ISqlColumn targetColumn
)
public:
SqlDropDataLossError(
String^ message,
int errorCode,
ErrorSeverity severity,
ISqlTable^ table,
ISqlColumn^ targetColumn
)
new :
message:string *
errorCode:int *
severity:ErrorSeverity *
table:ISqlTable *
targetColumn:ISqlColumn -> SqlDropDataLossError
public function SqlDropDataLossError(
message : String,
errorCode : int,
severity : ErrorSeverity,
table : ISqlTable,
targetColumn : ISqlColumn
)
Parameters
- message
Type: System.String
The text of the warning.
- errorCode
Type: System.Int32
The error code of the warning.
- severity
Type: Microsoft.Data.Schema.ErrorSeverity
The severity of the warning.
- table
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlTable
The table involved in the potential data loss.
- targetColumn
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlColumn
The column involved in the potential data loss.
.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.