Example of Declaring an Object As a Siebel CRM Object Type
The following image includes an example that configures Siebel VB to access a Siebel object. You can declare an object as a Siebel CRM object type.

Explanation of Callouts
To declare an object as a Siebel CRM object type, you do the following work:
You create an object variable to access the code. This example uses as BusComp to declare the object. It does not use as Object. This example instantiates the business component (BusComp) Siebel object type. You could declare it as an object, but if you use the methods associated with the object type, then you must declare it as the appropriate object type.
You can use methods and properties to manipulate the objects.
Set oBC to nothing. It is recommended that you always set an object to nothing when your code instantiates it.
You can use similar code to access other types of objects that are compliant with COM. You can use the software application that creates the object to modify properties and methods of the objects. For an example, see Date and Time Methods.