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 set @local\_variable statement.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SetVariableStatement
Espacio de nombres: Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado: Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class SetVariableStatement _
Inherits TSqlStatement
'Uso
Dim instance As SetVariableStatement
[SerializableAttribute]
public class SetVariableStatement : TSqlStatement
[SerializableAttribute]
public ref class SetVariableStatement : public TSqlStatement
[<SerializableAttribute>]
type SetVariableStatement =
class
inherit TSqlStatement
end
public class SetVariableStatement extends TSqlStatement
El tipo SetVariableStatement expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
SetVariableStatement | Initializes a new instance of the SetVariableStatement class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
AssignmentKind | Gets or sets the assignment operator used. |
![]() |
CursorDefinition | Gets or sets the cursor - if not nulles una referencia NULL (Nothing en Visual Basic)., then Expression has to be nulles una referencia NULL (Nothing en Visual Basic).. |
![]() |
Expression | Gets or sets the expression that the variable is going to be set. Can be nulles una referencia NULL (Nothing en Visual Basic). in case of cursor. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Se hereda de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Se hereda de TSqlFragment.) |
![]() |
FunctionCallExists | Gets or sets a value that indicates whether the column identifiers end with a function call. |
![]() |
Identifier | Gets or sets the identifier that can represent the property, field or method. Optional, may be nulles una referencia NULL (Nothing en Visual Basic).. |
![]() |
LastTokenIndex | Gets or sets the last token index. (Se hereda de TSqlFragment.) |
![]() |
Parameters | Gets or sets the parameters to the function. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Se hereda de TSqlFragment.) |
![]() |
SeparatorType | Gets or sets the separator. |
![]() |
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.) |
![]() |
Variable | Gets or sets the variable that is going to be set. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Accept | Accepts visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts 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)