Import in Groupshare TMs with Studio 2019

Hi everyone,

I am currently upgrading a Studio plugin from Studio 2015 to Studio 2019.

One part of the plugin consists in importing an SDLXLIFF file in a Groupshare TM. To do so, I used to use the ScheduledTranslationMemoryImportOperation constructor where I would have used the following methods (in the following sequence) to load the import operation on the server:

Create: to create the import operation

Upload: to upload the import file

Queue: to queue the instance of the import operation.

With Studio 2019, it seems the constructor ScheduledTranslationMemoryImportOperation does not exist anymore in the Sdl.LanguagePlatform.TranslationMemoryApi namespace. However, there seems to be a new constructor which might replace the above-mentionend constructor. It is named ScheduledServerTranslationMemoryImport.

My questions are:

1. Does the ScheduledServerTranslationMemoryImport constructor replace the ScheduledTranslationMemoryImportOperation? I can't see any trace of this new constructor in the documentation

2. Apparently, the new constructor has no "Create" and "Upload" methods. Which methods should be applied? Does the "Queue" method cover both the "create" and "upload" process?

Thank you in advance for your support.