Partager via


Méthode IService.VersionCopy

Copies a model version to a new version.

Espace de noms :  Microsoft.MasterDataServices
Assembly :  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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

Paramètres

Valeur de retour

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

Voir aussi

Référence

IService Interface

Espace de noms Microsoft.MasterDataServices