IfStatement Properties
SQL Server 2012
The IfStatement type exposes the following members.
| Name | Description | |
|---|---|---|
|
ElseStatement | Gets the statement that will be executed if the predicate evaluates false. Optional, may be null. |
|
FirstTokenIndex | Gets or sets the first token index. (Inherited from TSqlFragment.) |
|
FragmentLength | Gets the fragment length. (Inherited from TSqlFragment.) |
|
LastTokenIndex | Gets or sets the last token index. (Inherited from 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. (Inherited from TSqlFragment.) |
|
StartColumn | Gets the starting column. (Inherited from TSqlFragment.) |
|
StartLine | Gets the starting line. (Inherited from TSqlFragment.) |
|
StartOffset | Gets the fragment start offset value. (Inherited from TSqlFragment.) |
|
ThenStatement | Gets the statement that will be executed if the predicate evaluates true. |
