Share via


DMQueryTask.OverwriteOutputTable Property

Gets or sets the Boolean value that indicates if the prediction query should overwrite content in the destination table.

Namespace:  Microsoft.SqlServer.Dts.Tasks.DMQueryTask
Assembly:  Microsoft.SqlServer.DMQueryTask (in Microsoft.SqlServer.DMQueryTask.dll)

Syntax

'Declaration
Public Property OverwriteOutputTable As Boolean 
    Get 
    Set
'Usage
Dim instance As DMQueryTask 
Dim value As Boolean 

value = instance.OverwriteOutputTable

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

Property Value

Type: System.Boolean
true to overwrite the content in the destination table; false to append the results to the existing results.

Implements

IDMQueryTask.OverwriteOutputTable

Remarks

If the value of the property is False, and the schema of the output table does not match the schema of the result query, an insertion error is raised.

See Also

Reference

DMQueryTask Class

Microsoft.SqlServer.Dts.Tasks.DMQueryTask Namespace