Siebel Object Interfaces Reference > Interfaces Reference > Business Object Methods >

GetBusComp


The GetBusComp method returns the specified business component.

Syntax

oBusObj.GetBusComp (BusCompName)

Argument
Description
BusCompName
String containing the desired business component in the business object

Returns

The requested business component

Usage

BusCompName is case-sensitive, and must match in case the form of the name as it appears in Siebel Tools. If an instance of BusCompName already exists, that instance is returned. The interpreter instantiates and returns a new instance of a business component using BusCompName if one does not already exist.

The Nothing function should be used to destroy the instantiated business component when it is no longer necessary.

NOTE:  In Browser Script, the GetBusComp() method can only access business components in the current view; in Server Script, the GetBusComp() method can access every business component that has been instantiated in the active business object.

Used With

Browser Script, Server Script, COM Data Control, COM Data Server, Java Data Bean, CORBA Object Manager


 Siebel Object Interfaces Reference 
 Published: 18 June 2003