SqlServerError 建構函式 (String, String, ErrorSeverity)

初始化 SqlServerError 類別的新執行個體。

命名空間:  Microsoft.Data.Schema.Sql
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    document As String, _
    severity As ErrorSeverity _
)
public SqlServerError(
    string message,
    string document,
    ErrorSeverity severity
)
public:
SqlServerError(
    String^ message, 
    String^ document, 
    ErrorSeverity severity
)
new : 
        message:string * 
        document:string * 
        severity:ErrorSeverity -> SqlServerError
public function SqlServerError(
    message : String, 
    document : String, 
    severity : ErrorSeverity
)

參數

.NET Framework 安全性

請參閱

參考

SqlServerError 類別

SqlServerError 多載

Microsoft.Data.Schema.Sql 命名空間