Variable Class
Represents a variable on a package, task, or container. This class cannot be inherited.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
語法
'宣告
Public NotInheritable Class Variable
Inherits DtsObject
Implements IDTSPersist, IDTSName, IDTSPropertiesProvider, IDTSPackagePath, _
IComponent, IDisposable
public sealed class Variable : DtsObject, IDTSPersist, IDTSName, IDTSPropertiesProvider,
IDTSPackagePath, IComponent, IDisposable
public ref class Variable sealed : public DtsObject, IDTSPersist, IDTSName, IDTSPropertiesProvider,
IDTSPackagePath, IComponent, IDisposable
public final class Variable extends DtsObject implements IDTSPersist, IDTSName,
IDTSPropertiesProvider, IDTSPackagePath, IComponent, IDisposable
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:
Inheritance Hierarchy
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.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。