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 格式。

適用於