Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Represents the set @local\_variable statement.
Иерархия наследования
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SetVariableStatement
Пространство имен: Microsoft.SqlServer.TransactSql.ScriptDom
Сборка: Microsoft.SqlServer.TransactSql.ScriptDom (в Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class SetVariableStatement _
Inherits TSqlStatement
'Применение
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
Тип SetVariableStatement обеспечивает доступ к следующим элементам.
Конструкторы
| Имя | Описание | |
|---|---|---|
![]() |
SetVariableStatement | Initializes a new instance of the SetVariableStatement class. |
В начало
Свойства
| Имя | Описание | |
|---|---|---|
![]() |
AssignmentKind | Gets or sets the assignment operator used. |
![]() |
CursorDefinition | Gets or sets the cursor - if not nullпустая ссылка (Nothing в Visual Basic), then Expression has to be nullпустая ссылка (Nothing в Visual Basic). |
![]() |
Expression | Gets or sets the expression that the variable is going to be set. Can be nullпустая ссылка (Nothing в Visual Basic) in case of cursor. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Производный от TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Производный от 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 nullпустая ссылка (Nothing в Visual Basic). |
![]() |
LastTokenIndex | Gets or sets the last token index. (Производный от TSqlFragment.) |
![]() |
Parameters | Gets or sets the parameters to the function. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Производный от TSqlFragment.) |
![]() |
SeparatorType | Gets or sets the separator. |
![]() |
StartColumn | Gets the starting column. (Производный от TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Производный от TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Производный от TSqlFragment.) |
![]() |
Variable | Gets or sets the variable that is going to be set. |
В начало
Методы
| Имя | Описание | |
|---|---|---|
![]() |
Accept | Accepts visitor. (Переопределяет TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts visitor for Children. (Переопределяет TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetType | (Производный от Object.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
ToString | (Производный от Object.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
.gif)
.gif)
.gif)