Condividi tramite


PurviewEntities.AddOrUpdateBusinessMetadataAsync Method

Definition

Add business metadata to an entity.

public virtual System.Threading.Tasks.Task<Azure.Response> AddOrUpdateBusinessMetadataAsync (string guid, Azure.Core.RequestContent content, bool? isOverwrite = default, Azure.RequestContext context = default);
abstract member AddOrUpdateBusinessMetadataAsync : string * Azure.Core.RequestContent * Nullable<bool> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AddOrUpdateBusinessMetadataAsync : string * Azure.Core.RequestContent * Nullable<bool> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function AddOrUpdateBusinessMetadataAsync (guid As String, content As RequestContent, Optional isOverwrite As Nullable(Of Boolean) = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

guid
String

The globally unique identifier of the entity.

content
RequestContent

The content to send as the body of the request.

isOverwrite
Nullable<Boolean>

Whether to overwrite the existing business metadata on the entity or not, default is false.

context
RequestContext

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

Returns

Exceptions

guid is null.

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

Applies to