Sdílet prostřednictvím


PurviewEntities.DeleteClassificationAsync Method

Definition

Delete a given classification from an existing entity represented by a GUID.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteClassificationAsync (string guid, string classificationName, Azure.RequestContext context = default);
abstract member DeleteClassificationAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteClassificationAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteClassificationAsync (guid As String, classificationName As String, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

guid
String

The globally unique identifier of the entity.

classificationName
String

The name of the classification.

context
RequestContext

The request context, which can override default behaviors on the request on a per-call basis.

Returns

Exceptions

guid or classificationName is null.

guid or classificationName is an empty string, and was expected to be non-empty.

Remarks

Schema for Response Error:

{
              requestId: string,
              errorCode: string,
              errorMessage: string
            }

Applies to