共用方式為


Variable 介面

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

For more information, see VariableClass.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
<GuidAttribute("8E98BF46-3063-4324-9A79-D80C069C1B02")> _
Public Interface Variable _
    Inherits IDTSVariable100
'用途
Dim instance As Variable
[GuidAttribute("8E98BF46-3063-4324-9A79-D80C069C1B02")]
public interface Variable : IDTSVariable100
[GuidAttribute(L"8E98BF46-3063-4324-9A79-D80C069C1B02")]
public interface class Variable : IDTSVariable100
[<GuidAttribute("8E98BF46-3063-4324-9A79-D80C069C1B02")>]
type Variable =  
    interface 
        interface IDTSVariable100 
    end
public interface Variable extends IDTSVariable100

Variable 型別公開下列成員。

屬性

  名稱 說明
公用屬性 DataType 基礎結構。Gets the data type of the variable. (繼承自 IDTSVariable100。)
公用屬性 EvaluateAsExpression 基礎結構。Gets or sets a value that indicates whether the variable contains an expression. (繼承自 IDTSVariable100。)
公用屬性 IncludeInDebugDump Gets or sets a value that specifies whether the variable value is included in the debug dump files. (繼承自 IDTSVariable100。)
公用屬性 Namespace 基礎結構。Gets or sets the namespace that the variable belongs to. (繼承自 IDTSVariable100。)
公用屬性 Parent 基礎結構。Gets the parent container of the variable. (繼承自 IDTSVariable100。)
公用屬性 QualifiedName 基礎結構。Gets the fully qualified name of the variable, including the namespace. This property is read-only. (繼承自 IDTSVariable100。)
公用屬性 RaiseChangedEvent 基礎結構。Gets or sets a value that indicates whether the variable has been flagged to raise the OnVariableValueChanged(IDTSContainer100, IDTSVariable100, Boolean%) event when the value of the variable changes. (繼承自 IDTSVariable100。)
公用屬性 ReadOnly 基礎結構。Gets or sets a value that indicates whether the variable is read-only and cannot have its value modified. (繼承自 IDTSVariable100。)
公用屬性 SystemVariable 基礎結構。Gets a value that indicates whether the variable is a system variable. This property is read-only. (繼承自 IDTSVariable100。)
公用屬性 Value 基礎結構。Gets or sets the value assigned to the variable. (繼承自 IDTSVariable100。)

上層

方法

  名稱 說明
公用方法 GetValueWithContext 基礎結構。Retrieves the value with the specified context. (繼承自 IDTSVariable100。)

上層

請參閱

參考

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