共用方式為


InvalidCloudFileShare.DeleteIfExists Method

Definition

Overloads

DeleteIfExists(AccessCondition, FileRequestOptions, OperationContext)
DeleteIfExists(DeleteShareSnapshotsOption, AccessCondition, FileRequestOptions, OperationContext)

DeleteIfExists(AccessCondition, FileRequestOptions, OperationContext)

public override bool DeleteIfExists (Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
override this.DeleteIfExists : Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overrides Function DeleteIfExists (Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameters

accessCondition
AccessCondition
operationContext
OperationContext

Returns

Applies to

DeleteIfExists(DeleteShareSnapshotsOption, AccessCondition, FileRequestOptions, OperationContext)

public override bool DeleteIfExists (Microsoft.Azure.Storage.File.DeleteShareSnapshotsOption deleteSnapshotsOption, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
override this.DeleteIfExists : Microsoft.Azure.Storage.File.DeleteShareSnapshotsOption * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> bool
Public Overrides Function DeleteIfExists (deleteSnapshotsOption As DeleteShareSnapshotsOption, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Boolean

Parameters

deleteSnapshotsOption
DeleteShareSnapshotsOption
accessCondition
AccessCondition
operationContext
OperationContext

Returns

Applies to