Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IfStatement Properties

SQL Server 2012

The IfStatement type exposes the following members.

  Name Description
Public property ElseStatement Gets the statement that will be executed if the predicate evaluates false. Optional, may be null.
Public property FirstTokenIndex Gets or sets the first token index. (Inherited from TSqlFragment.)
Public property FragmentLength Gets the fragment length. (Inherited from TSqlFragment.)
Public property LastTokenIndex Gets or sets the last token index. (Inherited from TSqlFragment.)
Public property Predicate Gets the expression that is the predicate for the if statement. This should be a boolean expression.
Public property ScriptTokenStream Gets or sets a list of token streams. (Inherited from TSqlFragment.)
Public property StartColumn Gets the starting column. (Inherited from TSqlFragment.)
Public property StartLine Gets the starting line. (Inherited from TSqlFragment.)
Public property StartOffset Gets the fragment start offset value. (Inherited from TSqlFragment.)
Public property ThenStatement Gets the statement that will be executed if the predicate evaluates true.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.