Table 72. Business Service Methods Syntax Summary
Method
|
Description
|
Syntax
|
|
Retrieves the name of the first property of a business service.
|
var svc; var sName = svc.GetFirstProperty();
|
|
Once the name of the first property has been retrieved, retrieves the name of the next property of a business service.
|
var svc; var sName = svc.GetNextProperty();
|
|
Retrieves the value stored in the specified property.
|
var svc; var value; value = svc.GetProperty(name);
|
|
Calls a specialized method or a user-created method on the business service.
|
var svc; var oPropSet =theApplication().NewPropertySet(); oPropSet = svc.InvokeMethod(methodName, inputPropSet);
|
|
Returns the name of the business service.
|
var svc; var name; name = svc.Name();
|
|
Returns a Boolean value indicating whether the property specified in the argument exists.
|
var svc; var bool; bool = svc.PropertyExists(name);
|
|
Removes a property from a business service.
|
var svc; svc.RemoveProperty(name);
|
|
Assigns a value to a property of a business service.
|
var svc; svc.SetProperty(name, value);
|