CLanguage.SetLanguage

Sets the language of the Synthesis API library. Messages returned by the Synthesis repository to the API will be displayed in the specified language.

Syntax
.SetLanguage(Language)

Parameters
Language
 * Required. The display language. Can be any Language constant.

Example
To demonstrate the method's functionality, the example deliberately returns an error message in Portuguese by connecting to a repository that doesn't exist.

VBA Lng cLanguage Lng.SetLanguage (Language_Portuguese) MyRepository Repository MyRepository.ConnectToAccessRepository

VB.NET Lng cLanguage Lng.SetLanguage (Language.Portuguese) MyRepository Repository MyRepository.ConnectToAccessRepository