共用方式為


VariableClass.IncludeInDebugDump 屬性

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

Gets or sets a value that specifies whether the variable value is included in the debug dump files.

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

語法

'宣告
Public Overridable Property IncludeInDebugDump As Boolean 
    Get 
    Set
'用途
Dim instance As VariableClass 
Dim value As Boolean 

value = instance.IncludeInDebugDump

instance.IncludeInDebugDump = value
public virtual bool IncludeInDebugDump { get; set; }
public:
virtual property bool IncludeInDebugDump {
    bool get ();
    void set (bool value);
}
abstract IncludeInDebugDump : bool with get, set 
override IncludeInDebugDump : bool with get, set
function get IncludeInDebugDump () : boolean 
function set IncludeInDebugDump (value : boolean)

屬性值

型別:System.Boolean
A Boolean that specifies whether the variable value is included in the debug dump files.

實作

IDTSVariable100.IncludeInDebugDump

備註

For user-defined variables and system variables, the default value for the IncludeInDebugDump option is true.

However, for user-defined variables, the system resets the IncludeInDebugDump option to false when the following conditions are true:

  • If the EvaluateAsExpression variable property is set to true, the system resets the IncludeInDebugDump option to false.

    To include the text of the expression as the variable value in the debug dump files, set the IncludeInDebugDump option to true.

  • If the variable data type is changed to a string, the system resets the IncludeInDebugDump option to false.

請參閱

參考

VariableClass 類別

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