Share via


IService.VersionCopy Method

Copies a model version to a new version.

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)

Syntax

'Declaration
<OperationContractAttribute(Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopy",  _
    ReplyAction := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyResponse")> _
<FaultContractAttribute(GetType(EditionExpiredMessage), Action := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyEditionExpiredMessageFault",  _
    Name := "EditionExpiredMessage")> _
Function VersionCopy ( _
    request As VersionCopyRequest _
) As VersionCopyResponse
'Usage
Dim instance As IService
Dim request As VersionCopyRequest
Dim returnValue As VersionCopyResponse

returnValue = instance.VersionCopy(request)
[OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopy", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyResponse")]
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")]
VersionCopyResponse VersionCopy(
    VersionCopyRequest request
)
[OperationContractAttribute(Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopy", 
    ReplyAction = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyResponse")]
[FaultContractAttribute(typeof(EditionExpiredMessage), Action = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyEditionExpiredMessageFault", 
    Name = L"EditionExpiredMessage")]
VersionCopyResponse^ VersionCopy(
    VersionCopyRequest^ request
)
[<OperationContractAttribute(Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopy", 
    ReplyAction = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyResponse")>]
[<FaultContractAttribute(typeof(EditionExpiredMessage), Action = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09/IService/VersionCopyEditionExpiredMessageFault", 
    Name = "EditionExpiredMessage")>]
abstract VersionCopy : 
        request:VersionCopyRequest -> VersionCopyResponse
function VersionCopy(
    request : VersionCopyRequest
) : VersionCopyResponse

Parameters

Return Value

Type: Microsoft.MasterDataServices.VersionCopyResponse
A new instance of type VersionCopyResponse.

See Also

Reference

IService Interface

Microsoft.MasterDataServices Namespace