Share via


IService.AnnotationsUpdate(AnnotationsUpdateRequest) Method

Definition

Updates an existing annotation.

public:
 Microsoft::MasterDataServices::Services::MessageContracts::AnnotationsUpdateResponse ^ AnnotationsUpdate(Microsoft::MasterDataServices::Services::MessageContracts::AnnotationsUpdateRequest ^ request);
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))]
[System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))]
[System.ServiceModel.OperationContract]
public Microsoft.MasterDataServices.Services.MessageContracts.AnnotationsUpdateResponse AnnotationsUpdate (Microsoft.MasterDataServices.Services.MessageContracts.AnnotationsUpdateRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member AnnotationsUpdate : Microsoft.MasterDataServices.Services.MessageContracts.AnnotationsUpdateRequest -> Microsoft.MasterDataServices.Services.MessageContracts.AnnotationsUpdateResponse
Public Function AnnotationsUpdate (request As AnnotationsUpdateRequest) As AnnotationsUpdateResponse

Parameters

request
AnnotationsUpdateRequest

The request.

Returns

Attributes

Remarks

The AnnotationsUpdate(AnnotationsUpdateRequest) operation updates the comment text of an existing annotation. Only the user who created the annotation or a model administrator can update an annotation. The annotation is found by ID. The annotation's text is replaced with the supplied Comment property.

Applies to