TSqlCompilationError 结构

The TSqlCompilationError class contains information on a Transact-SQL compilation error or warning.

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public Structure TSqlCompilationError
用法
Dim instance As TSqlCompilationError
public struct TSqlCompilationError
public value class TSqlCompilationError
[<SealedAttribute>]
type TSqlCompilationError =  struct end
JScript 支持使用结构,但不支持声明新结构。

TSqlCompilationError 类型公开以下成员。

属性

  名称 说明
公共属性 End Gets the end location of the error in the source file.
公共属性 FileName Gets the name of the source file in which the error occurred.
公共属性 IsWarning Gets a value that specifies whether the error is an exception, or if it is just a warning.
公共属性 Message Gets the error message from the exception.
公共属性 Start Gets the start location of the error in the source file.

页首

方法

  名称 说明
公共方法 Equals (从 ValueType 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 ValueType 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 ValueType 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。