Partager via


Méthode ServiceClient.VersionCopy

Makes a copy of a version, which includes making a copy of all entity member data.

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

Syntaxe

'Déclaration
Public Function VersionCopy ( _
    International As International, _
    FromVersionId As Guid, _
    ToVersionDescription As String, _
    ToVersionName As String _
) As OperationResult
'Utilisation
Dim instance As ServiceClient
Dim International As International
Dim FromVersionId As Guid
Dim ToVersionDescription As String
Dim ToVersionName As String
Dim returnValue As OperationResult

returnValue = instance.VersionCopy(International, _
    FromVersionId, ToVersionDescription, _
    ToVersionName)
public OperationResult VersionCopy(
    International International,
    Guid FromVersionId,
    string ToVersionDescription,
    string ToVersionName
)
public:
OperationResult^ VersionCopy(
    International^ International, 
    Guid FromVersionId, 
    String^ ToVersionDescription, 
    String^ ToVersionName
)
member VersionCopy : 
        International:International * 
        FromVersionId:Guid * 
        ToVersionDescription:string * 
        ToVersionName:string -> OperationResult
public function VersionCopy(
    International : International, 
    FromVersionId : Guid, 
    ToVersionDescription : String, 
    ToVersionName : String
) : OperationResult

Paramètres

  • FromVersionId
    Type : System.Guid
    The version identifier from which the copy is made.
  • ToVersionDescription
    Type : System.String
    The description for the new version copy.
  • ToVersionName
    Type : System.String
    The name for the new version copy.

Valeur de retour

Type : Microsoft.MasterDataServices.OperationResult
An OperationResult object that represents the result of the operation.

Voir aussi

Référence

ServiceClient Classe

Espace de noms Microsoft.MasterDataServices