This topic has not yet been rated - Rate this topic

SetVariableStatement Class

Represents the SET @local_variable statement.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)
[SerializableAttribute]
public class SetVariableStatement : TSqlStatement

The SetVariableStatement type exposes the following members.

  NameDescription
Public methodSetVariableStatementInitializes a new instance of the SetVariableStatement class.
Top
  NameDescription
Public propertyAssignmentKindGets or sets the assignment kind.
Public propertyCursorDefinitionGets or sets a cursor definition.
Public propertyExpressionGets or sets the expression that the variable is going to be set to.
Public propertyFirstTokenIndexGets or sets the first token index. (Inherited from TSqlFragment.)
Public propertyFragmentLengthGets the fragment length. (Inherited from TSqlFragment.)
Public propertyFunctionCallExistsGets or sets whether the column identifiers end with a function call.
Public propertyIdentifierGets or sets the identifier that can represent the property, field, or method.
Public propertyLastTokenIndexGets or sets the last token index. (Inherited from TSqlFragment.)
Public propertyParametersGets a list of parameters to the function.
Public propertyScriptTokenStreamGets or sets a list of token streams. (Inherited from TSqlFragment.)
Public propertySeparatorTypeGets or sets the separator type.
Public propertyStartColumnGets the starting column. (Inherited from TSqlFragment.)
Public propertyStartLineGets the starting line. (Inherited from TSqlFragment.)
Public propertyStartOffsetGets the fragment start offset value. (Inherited from TSqlFragment.)
Public propertyVariableNameGets or sets the name of the variable that is going to be set.
Top
  NameDescription
Public methodAcceptEntry point for a given visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).)
Public methodAcceptChildrenCalls Accept on the children with the given visitor. (Overrides TSqlStatement.AcceptChildren(TSqlFragmentVisitor).)
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.