Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents the if statement.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.IfStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class IfStatement _
Inherits TSqlStatement
'Usage
Dim instance As IfStatement
[SerializableAttribute]
public class IfStatement : TSqlStatement
[SerializableAttribute]
public ref class IfStatement : public TSqlStatement
[<SerializableAttribute>]
type IfStatement =
class
inherit TSqlStatement
end
public class IfStatement extends TSqlStatement
Der IfStatement-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
IfStatement | Initializes a new instance of the IfStatement class. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
ElseStatement | Gets the statement that will be executed if the predicate evaluates false. Optional, may be nullein NULL-Verweis (Nothing in Visual Basic). |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Geerbt von TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Geerbt von TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Geerbt von TSqlFragment.) |
![]() |
Predicate | Gets the expression that is the predicate for the if statement. This should be a boolean expression. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Geerbt von TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Geerbt von TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Geerbt von TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Geerbt von TSqlFragment.) |
![]() |
ThenStatement | Gets the statement that will be executed if the predicate evaluates true. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Accept | Accepts the visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts the visitor for Children. (Überschreibt TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)