Partager via


Propriété DataProfilingTask.OverwriteDestination

Gets or sets a value that indicates whether the Data Profiling task should overwrite the output file if the file already exists.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
Assembly :  Microsoft.SqlServer.DataProfilingTask (en Microsoft.SqlServer.DataProfilingTask.dll)

Syntaxe

'Déclaration
Public Property OverwriteDestination As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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.

Voir aussi

Référence

DataProfilingTask Classe

Espace de noms Microsoft.SqlServer.Dts.Tasks.DataProfilingTask