IService.BusinessRulesClone(BusinessRulesCloneRequest) 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.
Creates new business rules that are exact copies of business rules from another source, while retaining the GUIDs of the original objects.
public:
Microsoft::MasterDataServices::Services::MessageContracts::MessageResponse ^ BusinessRulesClone(Microsoft::MasterDataServices::Services::MessageContracts::BusinessRulesCloneRequest ^ 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.MessageResponse BusinessRulesClone (Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesCloneRequest request);
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.SkuNotSupportedMessage))>]
[<System.ServiceModel.FaultContract(typeof(Microsoft.MasterDataServices.Services.DataContracts.EditionExpiredMessage))>]
[<System.ServiceModel.OperationContract>]
abstract member BusinessRulesClone : Microsoft.MasterDataServices.Services.MessageContracts.BusinessRulesCloneRequest -> Microsoft.MasterDataServices.Services.MessageContracts.MessageResponse
Public Function BusinessRulesClone (request As BusinessRulesCloneRequest) As MessageResponse
Parameters
- request
- BusinessRulesCloneRequest
Returns
- Attributes
Remarks
The BusinessRulesClone(BusinessRulesCloneRequest) operation creates new business rule objects as exact copies of objects in another MDM hub instance. This operation is similar to BusinessRulesCreate(BusinessRulesCreateRequest) except as specified here.
The GUID of each item (and the name for business rules) is required in the request. Rules have names, but actions, conditions, and condition tree nodes do not. The GUID is inserted rather than generated (as in a Create operation). If the request contains a GUID that matches an existing object in the hub of the same type, that object is updated.
This operation returns a standard MessageResponse message.