UploadOptionsPreserveSMBAttributes Property |
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.
Namespace:
Microsoft.Azure.Storage.DataMovement
Assembly:
Microsoft.Azure.Storage.DataMovement (in Microsoft.Azure.Storage.DataMovement.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax public bool PreserveSMBAttributes { get; set; }
Public Property PreserveSMBAttributes As Boolean
Get
Set
public:
property bool PreserveSMBAttributes {
bool get ();
void set (bool value);
}
member PreserveSMBAttributes : bool with get, set
Property Value
Type:
BooleanSee Also