Condividi tramite


DownloadDirectoryOptions Class

Definition

Represents a set of options that may be specified for download directory operation

public sealed class DownloadDirectoryOptions : Microsoft.Azure.Storage.DataMovement.DirectoryOptions
type DownloadDirectoryOptions = class
    inherit DirectoryOptions
Public NotInheritable Class DownloadDirectoryOptions
Inherits DirectoryOptions
Inheritance
DownloadDirectoryOptions

Constructors

DownloadDirectoryOptions()

Properties

Delimiter

Gets or sets a char that indicates the delimiter character used to delimit virtual directories in a blob name.

DisableContentMD5Validation

Gets or sets a flag that indicates whether to validate content MD5 or not when reading data from the source object. If set to true, source object content MD5 will be validated; otherwise, source object content MD5 will not be validated. If not specified, it defaults to false.

IncludeSnapshots

Gets or sets a flag indicating whether to include snapshots when downloading from Azure blob storage.

PreserveSMBAttributes

Gets or sets a flag that indicates whether to preserve SMB attributes during downloading. If set to true, destination Azure File's attributes will be set as source local file's attributes. SMB attributes includes last write time, creation time and CloudFileNtfsAttributes. CloudFileNtfsAttributes will be converted to FileAttributes , and then set to destination local file. This flag only takes effect when uploading from local file to Azure File Service. Preserving SMB attributes is only supported on Windows.

PreserveSMBPermissions

Gets or sets a value that indicates whether to preserve SMB permissions during downloading. Preserving SMB permissions is only supported on Windows.

Recursive

Gets or sets a boolean that indicates whether to include subdirectories when doing a directory transfer operation.

(Inherited from DirectoryOptions)
SearchPattern

Gets or sets a string that will be used to match against the names of files.

(Inherited from DirectoryOptions)

Applies to