语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

StacClient.DeleteCollection Method

Definition

Overloads

Name Description
DeleteCollection(WaitUntil, String, RequestContext)

Delete a collection in the GeoCatalog instance.

DeleteCollection(WaitUntil, String, CancellationToken)

Delete a collection in the GeoCatalog instance.

DeleteCollection(WaitUntil, String, RequestContext)

Source:
StacClient.cs

Delete a collection in the GeoCatalog instance.

public virtual Azure.Operation DeleteCollection(Azure.WaitUntil waitUntil, string collectionId, Azure.RequestContext context);
abstract member DeleteCollection : Azure.WaitUntil * string * Azure.RequestContext -> Azure.Operation
override this.DeleteCollection : Azure.WaitUntil * string * Azure.RequestContext -> Azure.Operation
Public Overridable Function DeleteCollection (waitUntil As WaitUntil, collectionId As String, context As RequestContext) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

collectionId
String

Catalog collection id.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

collectionId is null.

collectionId is an empty string, and was expected to be non-empty.

Applies to

DeleteCollection(WaitUntil, String, CancellationToken)

Source:
StacClient.cs

Delete a collection in the GeoCatalog instance.

public virtual Azure.Operation DeleteCollection(Azure.WaitUntil waitUntil, string collectionId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteCollection : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.Operation
override this.DeleteCollection : Azure.WaitUntil * string * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function DeleteCollection (waitUntil As WaitUntil, collectionId As String, Optional cancellationToken As CancellationToken = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

collectionId
String

Catalog collection id.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

collectionId is null.

collectionId is an empty string, and was expected to be non-empty.

Applies to