语言

Variable 接口

定义

有关详细信息,请参阅 VariableClass

public interface class Variable : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariable100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass))]
[System.Runtime.InteropServices.Guid("2FE895CF-A59E-4267-B6D6-156AEF2F6C42")]
public interface Variable : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass))]
[System.Runtime.InteropServices.Guid("D42A73DA-98BC-4FAF-B38F-FCF5D9ED36C1")]
public interface Variable : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass))]
[System.Runtime.InteropServices.Guid("9DBE5DE5-2C09-4CFD-B8CA-8F5F0E769EB3")]
public interface Variable : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass))>]
[<System.Runtime.InteropServices.Guid("2FE895CF-A59E-4267-B6D6-156AEF2F6C42")>]
type Variable = interface
    interface IDTSVariable100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass))>]
[<System.Runtime.InteropServices.Guid("D42A73DA-98BC-4FAF-B38F-FCF5D9ED36C1")>]
type Variable = interface
    interface IDTSVariable100
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.SqlServer.Dts.Runtime.Wrapper.VariableClass))>]
[<System.Runtime.InteropServices.Guid("9DBE5DE5-2C09-4CFD-B8CA-8F5F0E769EB3")>]
type Variable = interface
    interface IDTSVariable100
Public Interface Variable
Implements IDTSVariable100
派生
属性
实现

属性

名称 说明
DataType

获取变量的数据类型。

(继承自 IDTSVariable100)
EvaluateAsExpression

获得或设置一个值,指示变量是否包含表达式。

(继承自 IDTSVariable100)
IncludeInDebugDump

获取或设置一个值,指定该变量值是否包含在调试转储文件中。

(继承自 IDTSVariable100)
Namespace

获取或设置变量所属的命名空间。

(继承自 IDTSVariable100)
Parent

获取变量的父容器。

(继承自 IDTSVariable100)
QualifiedName

获取变量的完全限定名称,包括命名空间。 此属性为只读。

(继承自 IDTSVariable100)
RaiseChangedEvent

获取或设置一个值,指示变量值变化时是否被标记以触发 OnVariableValueChanged(IDTSContainer100, IDTSVariable100, Boolean) 事件。

(继承自 IDTSVariable100)
ReadOnly

获得或设置一个值,指示变量是否只读且不能修改其值。

(继承自 IDTSVariable100)
SystemVariable

获得一个值,表示该变量是否属于系统变量。 此属性为只读。

(继承自 IDTSVariable100)
Value

获取或设置变量的值。

(继承自 IDTSVariable100)

方法

名称 说明
GetValueWithContext(IDTSEvaluatorContext100)

检索指定上下文下的值。

(继承自 IDTSVariable100)

适用于