MJServicesAutomation

From wiki.jriver.com
Jump to navigation Jump to search

Interface for working with services

Functions[edit]

VARIANT_BOOL GetLicense(string bstrFilename)[edit]

Description: Get a license for a content file
Parameters:

  • bstrFilename: the name of the content file

Return Value: true if the license was retrieved, false otherwise

IMJServiceAutomation *GetService(string bstrServiceName)[edit]

Description: Get a service by name
Parameters:

  • bstrServiceName: the name of the service

Return Value: a MJServiceAutomation interface