- Contents
DesignerCOM API
II3IDTool2::LicenseComponentName Property
get_LicenseComponentName
Returns the license component name that the tool requires.
IDL Function Prototype
HRESULT LicenseComponentName(
[out, retval] BSTR * ComponentName
);
C/C++ Syntax
HRESULT get_LicenseComponentName(BSTR * ComponentName);
Parameters
- ComponentName
-
Both tools and initiators can register that they require certain licensed components for users to be able to use them in Designer. This method returns the license components that are registered for the initiator.
put_LicenseComponentName
Sets the license object component to use to verify that a tool is licensed. You need to call this during the registration phase of the tool and before it is committed.
IDL Function Prototype
HRESULT LicenseComponentName(
[in] BSTR ComponentName
);
C/C++ Syntax
HRESULT put_LicenseComponentName(BSTR ComponentName);
Parameters
- ComponentName
-
The ComponentName is the license feature / component that needs to be installed on the server for handlers that have tool steps created from this tool to be publishable.
Interaction Designer and EICPublisher will not let users publish a handler if the handler contains non-licensed tools or initiator.
NOTE: License checks can only be done when Designer users have a valid Notifier connection. In the event that there is no Notifier connection, Designer will consider the tool to be licensed.