Dela via


ShareFileCopyOptions Class

Definition

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

public class ShareFileCopyOptions
type ShareFileCopyOptions = class
Public Class ShareFileCopyOptions
Inheritance
ShareFileCopyOptions

Constructors

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.

Conditions

Optional ShareFileRequestConditions to add conditions on copying the file.

FilePermission

Optional file permission to set for the destination file.

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.

IgnoreReadOnly

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

Metadata

Optional custom metadata to set on the destination file.

SmbProperties

Optional SMB properties to set on the destination file.

SmbPropertiesToCopy

SMB properties to copy from the source file.

Applies to