Export (0) Print
Expand All

IfStatement Class

 

Applies To: SQL Server 2016 Preview

Represents the if statement.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)


No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodIfStatement()

Initializes a new instance of the IfStatement class.

NameDescription
System_CAPS_pubpropertyElseStatement

Gets the statement that will be executed if the predicate evaluates false. Optional, may be null.

System_CAPS_pubpropertyFirstTokenIndex

Gets or sets the first token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyFragmentLength

Gets the fragment length.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyLastTokenIndex

Gets or sets the last token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyPredicate

Gets the expression that is the predicate for the if statement. This should be a boolean expression.

System_CAPS_pubpropertyScriptTokenStream

Gets or sets a list of token streams.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartColumn

Gets the starting column.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartLine

Gets the starting line.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartOffset

Gets the fragment start offset value.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyThenStatement

Gets the statement that will be executed if the predicate evaluates true.

NameDescription
System_CAPS_pubmethodAccept(TSqlFragmentVisitor)

Accepts the visitor.(Overrides TSqlFragment.Accept(TSqlFragmentVisitor).)

System_CAPS_pubmethodAcceptChildren(TSqlFragmentVisitor)

Accepts the visitor for Children.(Overrides TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft