Classe SetVariableStatement
Represents the set @local\_variable statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SetVariableStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<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
O tipo SetVariableStatement expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
SetVariableStatement | Initializes a new instance of the SetVariableStatement class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AssignmentKind | Gets or sets the assignment operator used. | |
CursorDefinition | Gets or sets the cursor - if not nulluma referência nula (Nothing no Visual Basic), then Expression has to be nulluma referência nula (Nothing no Visual Basic). | |
Expression | Gets or sets the expression that the variable is going to be set. Can be nulluma referência nula (Nothing no Visual Basic) in case of cursor. | |
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) | |
FragmentLength | Gets the fragment length. (Herdado 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 nulluma referência nula (Nothing no Visual Basic). | |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) | |
Parameters | Gets or sets the parameters to the function. | |
ScriptTokenStream | Gets or sets a list of token streams. (Herdado de TSqlFragment.) | |
SeparatorType | Gets or sets the separator. | |
StartColumn | Gets the starting column. (Herdado de TSqlFragment.) | |
StartLine | Gets the starting line. (Herdado de TSqlFragment.) | |
StartOffset | Gets the fragment start offset value. (Herdado de TSqlFragment.) | |
Variable | Gets or sets the variable that is going to be set. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Accept | Accepts visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) | |
AcceptChildren | Accepts visitor for Children. (Substitui TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetType | (Herdado de Object.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Object.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.