SqlDeploymentExecutionError 建構函式 (String, String, Int32, Int32, Int32, ErrorSeverity, DeploymentStep, SqlError)
初始化 SqlDeploymentExecutionError 類別的新執行個體。
命名空間: Microsoft.Data.Schema.Sql.Build
組件: Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
document As String, _
line As Integer, _
column As Integer, _
errorCode As Integer, _
severity As ErrorSeverity, _
currentStep As DeploymentStep, _
error As SqlError _
)
public SqlDeploymentExecutionError(
string message,
string document,
int line,
int column,
int errorCode,
ErrorSeverity severity,
DeploymentStep currentStep,
SqlError error
)
public:
SqlDeploymentExecutionError(
String^ message,
String^ document,
int line,
int column,
int errorCode,
ErrorSeverity severity,
DeploymentStep^ currentStep,
SqlError^ error
)
new :
message:string *
document:string *
line:int *
column:int *
errorCode:int *
severity:ErrorSeverity *
currentStep:DeploymentStep *
error:SqlError -> SqlDeploymentExecutionError
public function SqlDeploymentExecutionError(
message : String,
document : String,
line : int,
column : int,
errorCode : int,
severity : ErrorSeverity,
currentStep : DeploymentStep,
error : SqlError
)
參數
- message
型別:System.String
- document
型別:System.String
- line
型別:System.Int32
- column
型別:System.Int32
- errorCode
型別:System.Int32
- severity
型別:Microsoft.Data.Schema.ErrorSeverity
- currentStep
型別:Microsoft.Data.Schema.Build.DeploymentStep
- error
型別:System.Data.SqlClient.SqlError
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
SqlDeploymentExecutionError 類別