Siebel Object Interfaces Reference > COM Data Control Quick Reference >

Business Service Methods for COM Data Control


Table 39 lists a summary of the business service methods' syntax.

Table 39. Business Service Methods Syntax Summary
Method
Description
Syntax

GetFirstProperty Method

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

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

GetNextProperty Method

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

GetProperty Method

Retrieves the value stored in the specified property.

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

Name Method

Returns the name of the business service.

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

InvokeMethod Method

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

Dim oService as SiebelService
oService.InvokeMethod(methodName as String, InputArguments as SiebelPropertySet, OutputArguments as SiebelPropertySet)

PropertyExists Method

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

Dim oService as SiebelService
Dim propExists as Boolean
propExists = oService.PropertyExists( propName as String)

RemoveProperty Method

Removes a property from a business service.

Dim oService as SiebelService
oService.RemoveProperty(propName as String)

SetProperty Method

Assigns a value to a property of a business service.

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

Siebel Object Interfaces Reference Copyright © 2008, Oracle. All rights reserved.