IService.MetadataUpdate(MetadataUpdateRequest) 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 existing metadata objects.
public:
Microsoft::MasterDataServices::Services::MessageContracts::MetadataUpdateResponse ^ MetadataUpdate(Microsoft::MasterDataServices::Services::MessageContracts::MetadataUpdateRequest ^ 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.MetadataUpdateResponse MetadataUpdate (Microsoft.MasterDataServices.Services.MessageContracts.MetadataUpdateRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member MetadataUpdate : Microsoft.MasterDataServices.Services.MessageContracts.MetadataUpdateRequest -> Microsoft.MasterDataServices.Services.MessageContracts.MetadataUpdateResponse
Public Function MetadataUpdate (request As MetadataUpdateRequest) As MetadataUpdateResponse
Parameters
- request
- MetadataUpdateRequest
Returns
- Attributes
Remarks
The MetadataUpdate(MetadataUpdateRequest) operation updates existing metadata objects within an MDS repository.
Items in the request are matched to the existing objects based on only the GUID. Like any other property, an object's name is updated if the name of the item in the request is different than in the MDS repository. Each GUID that is not found is returned as a separate error. Each object's update is attempted and individually committed regardless of the failure of other items.
Only one property of Metadata may be populated in the request message. An error is returned in the MetadataUpdateResponse if there is more than one. This eliminates the possibility that a request message contains conflicting information about the same object in different parts of the Metadata type.