VariableClass 类

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Represents a variable class.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
<GuidAttribute("C64721A7-4947-4055-8BDD-9044EB2DD3D2")> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public Class VariableClass _
    Implements Variable, IDTSVariable100, IDTSExpression100, IDTSName100,  _
    IDTSPersist100, IDTSRuntimeObject100
用法
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

VariableClass 类型公开以下成员。

构造函数

  名称 说明
公共方法 VariableClass 基础结构。Initializes a new instance of the VariableClass class.

页首

属性

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

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetValueWithContext 基础结构。Returns a value of the variable class with a specified context.
公共方法 LoadFromXML 基础结构。Loads a package to a XML format.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SaveToXML 基础结构。Saves the package to a XML format.
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间