你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CopyOptions Class

Definition

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

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

Constructors

CopyOptions()

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 copying. 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. This flag only takes effect when copying from Azure File Service to Azure File Service.

PreserveSMBPermissions

Gets or sets a flag that indicates whether to preserve SMB permissions during copying. This flag only takes effect when copying from Azure File Service to Azure File Service.

SourceAccessCondition

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

Applies to