Business Service Methods for Siebel VB

The following table describes a summary of the business service methods you can use with Siebel VB.

Method Description Format

GetFirstProperty Method for a Business Service

Returns the name of the first property that is defined for a business service.

Dim oService as Service

Dim sName as String

sName = oService.GetFirstProperty

GetNextProperty Method for a Business Service

Returns the name of the next property of a business service.

Dim oService as Service

Dim sName as String

sName = oService.GetNextProperty

GetProperty Method for a Business Service

Returns the value of a property.

Dim oService as Service

Dim sValue as String

sValue = oService.GetProperty(propName as String)

InvokeMethod Method for a Business Service

Calls a method on a business service.

Dim oService as Service

oService.InvokeMethod(methodName as String, InputArguments as PropertySet, OutputArguments as PropertySet)

Name Method for a Business Service

Returns the name of a business service.

Dim oService as Service

Dim sName as String

sName = oService.Name

PropertyExists Method for a Business Service

Returns a Boolean value that indicates if the property that the argument identifies exists.

Dim oService as Service

Dim iReturn as Boolean

iReturn = oService.PropertyExists(propName as String)

RemoveProperty Method for a Business Service

Removes a property from a business service.

Dim oService as Service

oService.RemoveProperty propName as String

SetProperty Method for a Business Service

Sets a value for a property of a business service.

Dim oService as Service

oService.SetProperty propName as String, propValue as String