IService.VersionCopy Method (VersionCopyRequest)

 

Copies a model's version to a new version.

Namespace:   Microsoft.MasterDataServices.Services.ServiceContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

[FaultContractAttribute(typeof(SkuNotSupportedMessage))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(EditionExpiredMessage))]
VersionCopyResponse VersionCopy(
	VersionCopyRequest request
)

Return Value

Type: Microsoft.MasterDataServices.Services.MessageContracts.VersionCopyResponse

A model's version to a new version to copy.

The VersionCopy operation copies an existing version, including all data, to a new version.

The version to be copied MUST be specified by the version GUID, by using the FromVersionId parameter. The target version name MUST be specified by ToVersionName, and the target version description MUST be specified by ToVersionDescription.

The target name MUST not exist. A preexisting target name results in an error and no copy.

The operation checks the CopyOnlyCommittedVersion system setting and does not copy an uncommitted version if not allowed.

Return to top
Show: