Delen via


PurviewCollection.DeleteCollectionAsync(RequestOptions) Method

Definition

Deletes a Collection entity.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteCollectionAsync (Azure.RequestOptions options = default);
abstract member DeleteCollectionAsync : Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteCollectionAsync : Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteCollectionAsync (Optional options As RequestOptions = Nothing) As Task(Of Response)

Parameters

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Response Error:

{
              error: {
                code: string,
                details: [
                  {
                    code: string,
                    details: [ErrorModel],
                    message: string,
                    target: string
                  }
                ],
                message: string,
                target: string
              }
            }

Applies to