IService.AnnotationsUpdate(AnnotationsUpdateRequest) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.