Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Represents the set @local\_variable statement.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SetVariableStatement
Espace de noms : Microsoft.SqlServer.TransactSql.ScriptDom
Assembly : Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class SetVariableStatement _
Inherits TSqlStatement
'Utilisation
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
Le type SetVariableStatement expose les membres suivants.
Constructeurs
| Nom | Description | |
|---|---|---|
![]() |
SetVariableStatement | Initializes a new instance of the SetVariableStatement class. |
Haut de la page
Propriétés
| Nom | Description | |
|---|---|---|
![]() |
AssignmentKind | Gets or sets the assignment operator used. |
![]() |
CursorDefinition | Gets or sets the cursor - if not nullune référence Null (Nothing dans Visual Basic), then Expression has to be nullune référence Null (Nothing dans Visual Basic). |
![]() |
Expression | Gets or sets the expression that the variable is going to be set. Can be nullune référence Null (Nothing dans Visual Basic) in case of cursor. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (hérité de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (hérité 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 nullune référence Null (Nothing dans Visual Basic). |
![]() |
LastTokenIndex | Gets or sets the last token index. (hérité de TSqlFragment.) |
![]() |
Parameters | Gets or sets the parameters to the function. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (hérité de TSqlFragment.) |
![]() |
SeparatorType | Gets or sets the separator. |
![]() |
StartColumn | Gets the starting column. (hérité de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (hérité de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (hérité de TSqlFragment.) |
![]() |
Variable | Gets or sets the variable that is going to be set. |
Haut de la page
Méthodes
| Nom | Description | |
|---|---|---|
![]() |
Accept | Accepts visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts visitor for Children. (remplace TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetType | (hérité de Object.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Object.) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
.gif)
.gif)
.gif)