DTSFileSystemAttributes Enumeration

 

Determines the attribute to set on the file or directory.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum class DTSFileSystemAttributes

Member nameDescription
Archive

The file or directory is ready for archiving.

Hidden

The file or directory is not visible.

Normal

The file or directory has no other attributes set. This is valid only if used alone.

ReadOnly

The file or directory is read-only.

System

The file or directory is an operating system file.

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 folder and subfolders that are the source folders have their attributes set to read-only because the the Attributes property is set to ReadOnly in the code example.

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