共用方式為


OverwriteDestination 屬性

Determines whether the Data Profiling task should overwrite the output file if the file already exists.

命名空間:  Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
組件:  Microsoft.SqlServer.DataProfilingTask (在 Microsoft.SqlServer.DataProfilingTask.dll 中)

語法

'宣告
Public Property OverwriteDestination As Boolean
    Get
    Set
'用途
Dim instance As DataProfilingTask
Dim value As Boolean

value = instance.OverwriteDestination

instance.OverwriteDestination = value
public bool OverwriteDestination { get; set; }
public:
property bool OverwriteDestination {
    bool get ();
    void set (bool value);
}
member OverwriteDestination : bool with get, set
function get OverwriteDestination () : boolean
function set OverwriteDestination (value : boolean)

屬性值

型別:System. . :: . .Boolean
true if the task should overwrite the output file if the file already exists; otherwise, false.

備註

The Data Profiling task uses the value of this property only when the DestinationType is set to FileConnection. When the DestinationType is set to Variable, the task always overwrites the previous value of the variable.