Siebel Object Interfaces Reference > Siebel VB Quick Reference >

Business Service Methods for Siebel VB


Table 52 lists a summary of the Business Service methods' syntax.

Table 52. Business Service Methods Syntax Summary
Method
Description
Syntax

GetFirstProperty Method

Retrieves the name of the first property of a business service.

Dim oService as Service
Dim sName as String
sName = oService.GetFirstProperty()

GetNextProperty Method

Once the name of the first property has been retrieved, retrieves the name of the next property of a business service.

Dim oService as Service
Dim sName as String
sName = oService.GetNextProperty()

GetProperty Method

Retrieves the value stored in the specified property.

Dim oService as Service
Dim sValue as String
sValue = oService.GetProperty(propName as String)

InvokeMethod Method

Calls a specialized method or a user-created method on the business service.

Dim oService as Service
Dim Return
Return = oService.InvokeMethod(methodName as String, InputArguments as PropertySet, OutputArguments as PropertySet)

Name Method

Returns the name of the business service.

Dim oService as Service
Dim sName as String
sName = oService.Name

PropertyExists Method

Returns a Boolean value indicating whether the property specified in the argument exists.

Dim oService as Service
oService.PropertyExists(propName as String)

RemoveProperty Method

Removes a property from a business service.

Dim oService as Service
oService.RemoveProperty propName as String

SetProperty Method

Assigns a value to a property of a business service.

Dim oService as Service
oService.SetProperty propName as String, propValue as String

Table 53 lists a summary of the Business Service Events.

Table 53. Business Service Events Syntax Summary
Method
Description
Syntax

Service_InvokeMethod Event

Called after the InvokeMethod method is called on a business service.

Service_InvokeMethod(methodName as String)

Service_PreCanInvokeMethod Event

Called before the PreInvokeMethod, allowing the developer to determine whether or not the user has the authority to invoke the business service method.

Service_PreCanInvokeMethod(methodName as String, CanInvoke As String)

Service_PreInvokeMethod Event

Called before a specialized or user-defined method is invoked on a business service.

Service_PreInvokeMethod(methodName as String, Inputs as PropertySet, Outputs as PropertySet)

Siebel Object Interfaces Reference