Condividi tramite


Classe SetVariableStatement

Represents the set @local\_variable statement.

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.SetVariableStatement

Spazio dei nomi  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintassi

'Dichiarazione
<SerializableAttribute> _
Public Class SetVariableStatement _
    Inherits TSqlStatement
'Utilizzo
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

Nel tipo SetVariableStatement sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico SetVariableStatement Initializes a new instance of the SetVariableStatement class.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica AssignmentKind Gets or sets the assignment operator used.
Proprietà pubblica CursorDefinition Gets or sets the cursor - if not nullriferimento Null (Nothing in Visual Basic)., then Expression has to be nullriferimento Null (Nothing in Visual Basic)..
Proprietà pubblica Expression Gets or sets the expression that the variable is going to be set. Can be nullriferimento Null (Nothing in Visual Basic). in case of cursor.
Proprietà pubblica FirstTokenIndex Gets or sets the first token index. Ereditato da TSqlFragment.
Proprietà pubblica FragmentLength Gets the fragment length. Ereditato da TSqlFragment.
Proprietà pubblica FunctionCallExists Gets or sets a value that indicates whether the column identifiers end with a function call.
Proprietà pubblica Identifier Gets or sets the identifier that can represent the property, field or method. Optional, may be nullriferimento Null (Nothing in Visual Basic)..
Proprietà pubblica LastTokenIndex Gets or sets the last token index. Ereditato da TSqlFragment.
Proprietà pubblica Parameters Gets or sets the parameters to the function.
Proprietà pubblica ScriptTokenStream Gets or sets a list of token streams. Ereditato da TSqlFragment.
Proprietà pubblica SeparatorType Gets or sets the separator.
Proprietà pubblica StartColumn Gets the starting column. Ereditato da TSqlFragment.
Proprietà pubblica StartLine Gets the starting line. Ereditato da TSqlFragment.
Proprietà pubblica StartOffset Gets the fragment start offset value. Ereditato da TSqlFragment.
Proprietà pubblica Variable Gets or sets the variable that is going to be set.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Accept Accepts visitor. Esegue l'override di TSqlFragment.Accept(TSqlFragmentVisitor).
Metodo pubblico AcceptChildren Accepts visitor for Children. Esegue l'override di TSqlStatement.AcceptChildren(TSqlFragmentVisitor).
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.TransactSql.ScriptDom