Compartir a través de


IService.VersionCopy Método

Copies a model version to a new version.

Espacio de nombres:  Microsoft.MasterDataServices
Ensamblado:  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Sintaxis

'Declaración
<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
'Uso
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

Parámetros

Valor devuelto

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

Vea también

Referencia

IService Interfaz

Espacio de nombres Microsoft.MasterDataServices