ServiceClient.VersionCopy Method
Makes a copy of a version, which includes making a copy of all entity member data.
Namespace: Microsoft.MasterDataServices
Assembly: Microsoft.MasterDataServices (in Microsoft.MasterDataServices.dll)
Syntax
'Declaration
Public Function VersionCopy ( _
International As International, _
FromVersionId As Guid, _
ToVersionDescription As String, _
ToVersionName As String _
) As OperationResult
'Usage
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
Parameters
- International
Type: Microsoft.MasterDataServices.International
The cultural settings.
- 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.
Return Value
Type: Microsoft.MasterDataServices.OperationResult
An OperationResult object that represents the result of the operation.