Siebel Object Interfaces Reference > Siebel VB Quick Reference >

Business Service


Table 61 lists a summary of the Business Service Methods syntax.

Table 61.  Business Service Methods Syntax Summary
Method
Description
Syntax
Retrieves the name of the first property of a business service.

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

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()

Retrieves the value stored in the specified property.

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

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)

Returns the name of the business service.

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

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

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

Removes a property from a business service.

Dim oService as Service
oService.RemoveProperty propName as String

Assigns a value to a property of a business service.

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

Table 62 lists a summary of the Business Service Events.

Table 62.  Business Service Events Syntax Summary
Method
Description
Syntax
Called when a business service is accessed.

Service_InvokeMethod(methodName as String)

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) as Integer)

Called before a specialized method is invoked on a business service.

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


 Siebel Object Interfaces Reference 
 Published: 18 June 2003