GetViewMode Method
The GetViewMode method returns a Siebel ViewMode constant or the corresponding integer value for this constant. This constant identifies the current visibility mode of a business component. This mode determines the records that a query returns according to the visibility rules.
The GetViewMode method uses the following syntax:
BusComp. GetViewMode()
It includes no arguments.
For example:
SiebelApp.S_App.FindApplet(appletName).BusComp().GetViewMode();