Table of Contents

Class ShareFileCopyOptions

Namespace
Azure.Storage.Files.Shares.Models
Assembly
Azure.Storage.Files.Shares.dll

Optional parameters for ShareFileClient.StartCopy() and .StartCopyAsync().

public class ShareFileCopyOptions
Inheritance
ShareFileCopyOptions
Inherited Members

Constructors

ShareFileCopyOptions()

public ShareFileCopyOptions()

Properties

Archive

Optional boolean Specifying to set archive attribute on a target file. True means archive attribute will be set on a target file despite attribute overrides or a source file state.

public bool? Archive { get; set; }

Property Value

bool?

Conditions

Optional ShareFileRequestConditions to add conditions on copying the file.

public ShareFileRequestConditions Conditions { get; set; }

Property Value

ShareFileRequestConditions

FilePermission

Optional file permission to set for the destination file.

public string FilePermission { get; set; }

Property Value

string

FilePermissionCopyMode

Specifies the option to copy file security descriptor from source file or to set it using the value which is defined by the header value of FilePermission or FilePermissionKey.

public PermissionCopyMode? FilePermissionCopyMode { get; set; }

Property Value

PermissionCopyMode?

IgnoreReadOnly

Optional boolean specifying to overwrite the target file if it already exists and has read-only attribute set.

public bool? IgnoreReadOnly { get; set; }

Property Value

bool?

Metadata

Optional custom metadata to set on the destination file.

public IDictionary<string, string> Metadata { get; set; }

Property Value

IDictionary<string, string>

SmbProperties

Optional SMB properties to set on the destination file.

public FileSmbProperties SmbProperties { get; set; }

Property Value

FileSmbProperties

SmbPropertiesToCopy

SMB properties to copy from the source file.

public CopyableFileSmbProperties SmbPropertiesToCopy { get; set; }

Property Value

CopyableFileSmbProperties