Udostępnij za pośrednictwem


UploadOptions Class

Definition

Represents a set of options that may be specified for upload operation

public sealed class UploadOptions
type UploadOptions = class
Public NotInheritable Class UploadOptions
Inheritance
UploadOptions

Constructors

UploadOptions()

Properties

DestinationAccessCondition

Gets or sets an AccessCondition object that represents the access conditions for the destination object. If null, no condition is used.

EncryptionScope

Gets or sets a value which specifies the name of the encryption scope to use to encrypt the data provided in the request. This value only takes effect when destination is Azure Blob Service.

PreserveSMBAttributes

Gets or sets a flag that indicates whether to preserve SMB attributes during uploading. 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 FileAttributes. FileAttributes will be converted to CloudFileNtfsAttributes, and then set to destination Azure 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 uploading. Preserving SMB permissions is only supported on Windows.

Applies to