共用方式為


UploadDirectoryOptions.PreserveSMBAttributes Property

Definition

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.

public bool PreserveSMBAttributes { get; set; }
member this.PreserveSMBAttributes : bool with get, set
Public Property PreserveSMBAttributes As Boolean

Property Value

Applies to