Share via


IService.MetadataClone(MetadataCloneRequest) Method

Definition

Creates exact copies of metadata components from another source, while retaining the GUIDs of the original objects.

public:
 Microsoft::MasterDataServices::Services::MessageContracts::MetadataCloneResponse ^ MetadataClone(Microsoft::MasterDataServices::Services::MessageContracts::MetadataCloneRequest ^ 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.MetadataCloneResponse MetadataClone (Microsoft.MasterDataServices.Services.MessageContracts.MetadataCloneRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member MetadataClone : Microsoft.MasterDataServices.Services.MessageContracts.MetadataCloneRequest -> Microsoft.MasterDataServices.Services.MessageContracts.MetadataCloneResponse
Public Function MetadataClone (request As MetadataCloneRequest) As MetadataCloneResponse

Parameters

Returns

Attributes

Remarks

The MetadataClone(MetadataCloneRequest) operation creates a copy of a metadata item that is linked to the original via the shared GUID. This operation is similar to MetadataCreate(MetadataCreateRequest) except as specified here.

The MetadataClone(MetadataCloneRequest) operation requires both the GUID and the name of new items in the request. The GUID is inserted rather than generated. If the request contains a GUID that matches an existing object in the hub of the same type, that object is updated.

The identifiers of each new item MUST include the GUID and the name. The name MUST NOT exist within the specified context for an item with another GUID.

Applies to