共用方式為


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 命名空間