共用方式為


CloudFileDirectory.CloseAllHandlesSegmented Method

Definition

Closes all SMB handles on this file.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.File.CloseFileHandleResultSegment CloseAllHandlesSegmented (Microsoft.Azure.Storage.File.FileContinuationToken token = default, bool? recursive = default, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member CloseAllHandlesSegmented : Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<bool> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> Microsoft.Azure.Storage.File.CloseFileHandleResultSegment
override this.CloseAllHandlesSegmented : Microsoft.Azure.Storage.File.FileContinuationToken * Nullable<bool> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> Microsoft.Azure.Storage.File.CloseFileHandleResultSegment
Public Overridable Function CloseAllHandlesSegmented (Optional token As FileContinuationToken = Nothing, Optional recursive As Nullable(Of Boolean) = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As CloseFileHandleResultSegment

Parameters

token
FileContinuationToken

Continuation token for closing the handles.

recursive
Nullable<Boolean>

Whether to recurse through this directory's files and subfolders.

accessCondition
AccessCondition

An AccessCondition object that represents the access conditions for the file. If null, no condition is used.

options
FileRequestOptions

A FileRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Returns

Attributes

Applies to