Share via


VariableClass Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents a variable class.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
<GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class VariableClass _
    Implements Variable, IDTSVariable100, IDTSExpression100, IDTSName100,  _
    IDTSPersist100, IDTSRuntimeObject100
'Usage
Dim instance As VariableClass
[GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
public class VariableClass : Variable, 
    IDTSVariable100, IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100
[GuidAttribute(L"C64721A7-4947-4055-8BDD-9044EB2DD3D2")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
public ref class VariableClass : Variable, 
    IDTSVariable100, IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100
[<GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
type VariableClass =  
    class 
        interface Variable 
        interface IDTSVariable100 
        interface IDTSExpression100 
        interface IDTSName100 
        interface IDTSPersist100 
        interface IDTSRuntimeObject100 
    end
public class VariableClass implements Variable, IDTSVariable100, IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100

The VariableClass type exposes the following members.

Constructors

  Name Description
Public method VariableClass Infrastructure. Initializes a new instance of the VariableClass class.

Top

Properties

  Name Description
Public property CreationName Infrastructure. Gets the string that the runtime engine gives when it creates an instance of the VariableClass object.
Public property DataType Infrastructure. Gets the data type of the variable.
Public property Description Infrastructure. Gets or sets the description for the variable class.
Public property EvaluateAsExpression Infrastructure. Gets or sets a value that indicates whether the variable contains an expression.
Public property Expression Infrastructure. Gets or sets the expression contained in the variable class.
Public property ID Infrastructure. The identifier of the variable.
Public property IncludeInDebugDump Gets or sets a value that specifies whether the variable value is included in the debug dump files.
Public property Name Infrastructure. Gets or sets the name of the variable.
Public property Namespace Infrastructure. Gets or sets the namespace that the variable class belongs to.
Public property Parent Infrastructure. Gets or sets the parent of the variable class.
Public property QualifiedName Infrastructure. Gets the fully qualified name of the variable, including the namespace.
Public property RaiseChangedEvent Infrastructure. Gets or sets a value that indicates whether the variable class has been flagged to raise the OnVariableValueChanged event.
Public property ReadOnly Infrastructure. Gets or sets a value that indicates whether the variable class is read-only and cannot have its value modified.
Public property SystemVariable Infrastructure. Gets a value that indicates whether the variable class is a system variable.
Public property Value Infrastructure. Gets or sets the value assigned to the variable.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValueWithContext Infrastructure. Returns a value of the variable class with a specified context.
Public method LoadFromXML Infrastructure. Loads a package to a XML format.
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToXML Infrastructure. Saves the package to a XML format.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace