Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Represents the if statement.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.IfStatement
Espacio de nombres: Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado: Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class IfStatement _
Inherits TSqlStatement
'Uso
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
El tipo IfStatement expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
IfStatement | Initializes a new instance of the IfStatement class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
ElseStatement | Gets the statement that will be executed if the predicate evaluates false. Optional, may be nulles una referencia NULL (Nothing en Visual Basic).. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Se hereda de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Se hereda de TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Se hereda de 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. (Se hereda de TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Se hereda de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Se hereda de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Se hereda de TSqlFragment.) |
![]() |
ThenStatement | Gets the statement that will be executed if the predicate evaluates true. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Accept | Accepts the visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts the visitor for Children. (Invalida TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom
.gif)
.gif)
.gif)