InvokeMethod Method for a Business Component
The InvokeMethod method calls a method. It returns a string that contains the result of the method. For more information, see About Specialized and Custom Methods.
Siebel VB Format
BusComp.InvokeMethod methodName, methArg1, methArg2, methArgN
The following table describes the arguments for the Siebel VB format of the InvokeMethod method.
Argument | Description |
---|---|
methodName |
The name of the method. For information about the values you can enter for this argument, see Business Component Invoke Methods. |
You can use the following arguments:
|
A single string that contains arguments for the methodName argument. You can also pass this string in an array that contains the method parameters. |
Siebel eScript Format
BusComp.InvokeMethod(methodName, methArg1, methArg2, …, methArgn);
The arguments you can use in this format are the same as the arguments that are described for the Server Script format in InvokeMethod Method for an Applet.
Usage
You can use the InvokeMethod method to call a method on a business component object that is not available directly through the object interface. For more information, see Caution About Using the InvokeMethod Method in InvokeMethod Method for an Applet.
Used With
COM Data Control, COM Data Server, Siebel Java Data Bean, Mobile Web Client Automation Server, Server Script
Examples
For examples of using the InvokeMethod method, see the following topics: