共用方式為


CloudTable.DeleteIfExists(TableRequestOptions, OperationContext) Method

Definition

Deletes the table if it exists.

public virtual bool DeleteIfExists (Microsoft.Azure.Cosmos.Table.TableRequestOptions requestOptions = default, Microsoft.Azure.Cosmos.Table.OperationContext operationContext = default);
abstract member DeleteIfExists : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> bool
override this.DeleteIfExists : Microsoft.Azure.Cosmos.Table.TableRequestOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> bool
Public Overridable Function DeleteIfExists (Optional requestOptions As TableRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing) As Boolean

Parameters

requestOptions
TableRequestOptions

A TableRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

Returns

true if the table was deleted; otherwise, false.

Applies to