CloudTable.DeleteIfExists(TableRequestOptions, OperationContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.