Business Service Methods for COM Data Server

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

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

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

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

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

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

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