Dim ServerUri As New System.Uri(ServerURL & ":" & Portnumber) Dim TMServer As New TranslationProviderServer(ServerUri, False, Username, Password) Dim query = New Sdl.LanguagePlatform.TranslationMemoryApi.TranslationMemoryQuery() With {.ResourceGroupPath = "/", .IsProject = True, .IsMain = True, .IncludeChildResourceGroups = True, .Size = 120} Dim PagedTMs() = TMServer.GetTranslationMemoriesByQuery(query).TranslationMemories
Hi - the code above will fail with an internal server error, since the size parameter is set to a value > 100. Set it to 100 or lower, will work, but will not retrieve all TMs that are on the server.
Is this by design or is this product flaw?
Many thanks,
Tom