Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
Variable Class

Represents a variable on a package, task, or container. This class cannot be inherited.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
VisualBasicDeclaration
Public NotInheritable Class Variable
    Inherits DtsObject
    Implements IDTSPersist, IDTSName, IDTSPropertiesProvider, IDTSPackagePath, _
    IComponent, IDisposable
CSharp
public sealed class Variable : DtsObject, IDTSPersist, IDTSName, IDTSPropertiesProvider, 
    IDTSPackagePath, IComponent, IDisposable
ManagedCPlusPlus
public ref class Variable sealed : public DtsObject, IDTSPersist, IDTSName, IDTSPropertiesProvider, 
    IDTSPackagePath, IComponent, IDisposable
JSharp
public final class Variable extends DtsObject implements IDTSPersist, IDTSName, 
    IDTSPropertiesProvider, IDTSPackagePath, IComponent, IDisposable
JScript
public final class Variable extends DtsObject implements IDTSPersist, IDTSName, 
    IDTSPropertiesProvider, IDTSPackagePath, IComponent, IDisposable

Variables are grouped into namespaces for disambiguation. The System namespace is created automatically for every package and contains read-only properties. The User namespace contains custom properties that you can add. You can also create a namespace of your choosing to which to add variables. This class inherits from several classes and interfaces, including two from the Visual Studio .NET Framework:


System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Variable
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker