Business Service Methods for COM Data Control

The following table describes a summary of business service methods you can use with COM Data Control.

Method Description Format

GetFirstProperty Method for a Business Service

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

Dim oService as SiebelService

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 SiebelService

Dim sName as String

sName = oService.GetNextProperty()

GetProperty Method for a Business Service

Returns the value of a property.

Dim oService as SiebelService

Dim sValue as String

sValue = oService.GetProperty(propName as String)

Name Method for a Business Service

Returns the name of a business service.

Dim oService as SiebelService

Dim sName as String

sName = oService.Name

InvokeMethod Method for a Business Service

Calls a method.

Dim oService as SiebelService

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

PropertyExists Method for a Business Service

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

Dim oService as SiebelService

Dim propExists as Boolean

propExists = oService.PropertyExists(propName as String)

RemoveProperty Method for a Business Service

Removes a property from a business service.

Dim oService as SiebelService

oService.RemoveProperty(propName as String)

SetProperty Method for a Business Service

Sets a value for a property of a business service.

Dim oService as SiebelService

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