Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FileSystemTask.OverwriteDestinationFile Property

 

Applies To: SQL Server 2016 Preview

Gets or sets a Boolean that indicates whether the task will overwrite destination files.

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

abstract OverwriteDestinationFile : bool with get, set
override OverwriteDestinationFile : bool with get, set

Property Value

Type: System.Boolean

true if the task will overwrite destination files; false otherwise.

Legacy Code Example

The following code example creates a FileSystemTask as an Executable in a package. The FileSystemTask copies a test folder, which contains two subfolders and a .txt file, to another folder. The sample does not overwrite any files at the destination, so OverwriteDestinationFile is set to false.

No code example is currently available or this language may not be supported.
Return to top
Show:
© 2015 Microsoft