Siebel Object Interfaces Reference > COM Data Server Quick Reference >

Business Service


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

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

Dim oService as SiebelService
Dim sName as String
sName = oService.GetFirstProperty(ErrCode as Integer)

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

Dim oService as SiebelService
Dim sName as String
sName = oService.GetNextProperty(ErrCode as Integer)

Retrieves the value stored in the specified property.

Dim oService as SiebelService
Dim sValue as String
sValue = oService.GetProperty(propName as String, ErrCode as Integer)

Returns the name of the business service.

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

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

Dim oService as SiebelService
Dim Return
Return = oService.InvokeMethod(methodName as String, InputArguments as SiebelPropertySet, OutputArguments as SiebelPropertySet, ErrCode as Integer)

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

Dim oService as SiebelService
oService.PropertyExists(propName as String, ErrCode as Integer)

Removes a property from a business service.

Dim oService as SiebelService
oService.RemoveProperty(propName as String, ErrCode as Integer)

Assigns a value to a property of a business service.

Dim oService as SiebelService
oService.SetProperty(propName as String, propValue as String, ErrCode as Integer)


 Siebel Object Interfaces Reference 
 Published: 18 June 2003