Freigeben über


TSqlCompilationError-Struktur

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Structure TSqlCompilationError
'Usage
Dim instance As TSqlCompilationError
public struct TSqlCompilationError
public value class TSqlCompilationError
[<SealedAttribute>]
type TSqlCompilationError =  struct end
JScript unterstützt die Verwendung von Strukturen, aber nicht die Deklaration neuer Strukturen.

Der TSqlCompilationError-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft End Gets the end location of the error in the source file.
Öffentliche Eigenschaft FileName Gets the name of the source file in which the error occurred.
Öffentliche Eigenschaft IsWarning Gets a value that specifies whether the error is an exception, or if it is just a warning.
Öffentliche Eigenschaft Message Gets the error message from the exception.
Öffentliche Eigenschaft Start Gets the start location of the error in the source file.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von ValueType.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von ValueType.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von ValueType.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.