语言

VariableClass 类

定义

表示一个变量类。

public ref class VariableClass : Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSExpression100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSName100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPersist100, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSRuntimeObject100, Microsoft::SqlServer::Dts::Runtime::Wrapper::Variable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.Guid("7934A587-383E-4694-AFBB-23DA8C00D8D9")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
public class VariableClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExpression100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Variable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("6F221DFC-B552-414F-B00B-13CDE7AA9079")]
public class VariableClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExpression100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Variable
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)]
[System.Runtime.InteropServices.Guid("6E595DE3-AED9-45CE-AEFB-3EE1C52F914D")]
public class VariableClass : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSExpression100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSName100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPersist100, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSRuntimeObject100, Microsoft.SqlServer.Dts.Runtime.Wrapper.Variable
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.Guid("7934A587-383E-4694-AFBB-23DA8C00D8D9")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
type VariableClass = class
    interface Variable
    interface IDTSVariable100
    interface IDTSExpression100
    interface IDTSName100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("6F221DFC-B552-414F-B00B-13CDE7AA9079")>]
type VariableClass = class
    interface Variable
    interface IDTSVariable100
    interface IDTSExpression100
    interface IDTSName100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FCanCreate)>]
[<System.Runtime.InteropServices.Guid("6E595DE3-AED9-45CE-AEFB-3EE1C52F914D")>]
type VariableClass = class
    interface Variable
    interface IDTSVariable100
    interface IDTSExpression100
    interface IDTSName100
    interface IDTSPersist100
    interface IDTSRuntimeObject100
Public Class VariableClass
Implements IDTSExpression100, IDTSName100, IDTSPersist100, IDTSRuntimeObject100, Variable
继承
VariableClass
属性
实现

构造函数

名称 说明
VariableClass()

初始化 VariableClass 类的新实例。

属性

名称 说明
CreationName

获取运行时引擎创建对象实例 VariableClass 时给出的字符串。

DataType

获取变量的数据类型。

Description

获取或设置变量类的描述。

EvaluateAsExpression

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

Expression

获取或设置变量类中包含的表达式。

ID

变量的标识符。

IncludeInDebugDump

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

Name

获取或设置变量的名称。

Namespace

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

Parent

获取或设置变量类的父。

QualifiedName

获取变量的完全限定名称,包括命名空间。

RaiseChangedEvent

获取或设置一个值,指示变量类是否被标记以触发 OnVariableValueChanged 事件。

ReadOnly

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

SystemVariable

获得一个值,表示变量类是否为系统变量。

Value

获取或设置变量的值。

方法

名称 说明
GetValueWithContext(IDTSEvaluatorContext100)

返回变量类的值,并带有指定的上下文。

LoadFromXML(Object, IDTSEvents100)

加载一个包成XML格式。

SaveToXML(Object, Object, IDTSEvents100)

将软件包保存为XML格式。

适用于