MJServicesAutomation: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 12: Line 12:
* '''bstrServiceName''': the name of the service
* '''bstrServiceName''': the name of the service
'''Return Value:''' a MJServiceAutomation interface
'''Return Value:''' a MJServiceAutomation interface

[[Category:COM Automation]]

Latest revision as of 05:41, 4 May 2015

Interface for working with services

Functions

VARIANT_BOOL GetLicense(string bstrFilename)

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)

Description: Get a service by name
Parameters:

  • bstrServiceName: the name of the service

Return Value: a MJServiceAutomation interface