Partilhar via


CloudTable.DeleteIfExists(TableRequestOptions, OperationContext) Método

Definição

Exclui a tabela se ela existe.

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

Parâmetros

requestOptions
TableRequestOptions

Um objeto TableRequestOptions que especifica opções adicionais para a solicitação.

operationContext
OperationContext

Um objeto OperationContext que representa o contexto da operação atual.

Retornos

true se a tabela foi excluída; caso contrário, false.

Aplica-se a