Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents the set @local\_variable statement.
Vererbungshierarchie
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 (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class SetVariableStatement _
Inherits TSqlStatement
'Usage
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
Der SetVariableStatement-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
SetVariableStatement | Initializes a new instance of the SetVariableStatement class. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
AssignmentKind | Gets or sets the assignment operator used. |
![]() |
CursorDefinition | Gets or sets the cursor - if not nullein NULL-Verweis (Nothing in Visual Basic), then Expression has to be nullein NULL-Verweis (Nothing in Visual Basic). |
![]() |
Expression | Gets or sets the expression that the variable is going to be set. Can be nullein NULL-Verweis (Nothing in Visual Basic) in case of cursor. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Geerbt von TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Geerbt von 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 nullein NULL-Verweis (Nothing in Visual Basic). |
![]() |
LastTokenIndex | Gets or sets the last token index. (Geerbt von TSqlFragment.) |
![]() |
Parameters | Gets or sets the parameters to the function. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Geerbt von TSqlFragment.) |
![]() |
SeparatorType | Gets or sets the separator. |
![]() |
StartColumn | Gets the starting column. (Geerbt von TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Geerbt von TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Geerbt von TSqlFragment.) |
![]() |
Variable | Gets or sets the variable that is going to be set. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Accept | Accepts visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts visitor for Children. (Überschreibt TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)