共用方式為


IDTSVariable100.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 中)

語法

'宣告
Property IncludeInDebugDump As Boolean 
    Get 
    Set
'用途
Dim instance As IDTSVariable100 
Dim value As Boolean 

value = instance.IncludeInDebugDump

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

屬性值

型別:System.Boolean
true if the variable value is included in the debug dump files; otherwise, false.

備註

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.

請參閱

參考

IDTSVariable100 介面

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