Bookshelf Home | Contents | Index | PDF |
Siebel Object Interfaces Reference > Programming > Siebel Object Interface Method SyntaxThe following conventions are used in this guide to describe methods, arguments, and return values: SyntaxObjectType.MethodName(arg1[, arg2, ..., argn]) ReturnsDescription of the value returned by the method, if any. The following conventions are used in the syntax diagram:
If a method does not return a value or if you are using it in a manner that does not return a value, then the arguments should not be enclosed in parentheses in Siebel VB. When using COM Data Server, an additional argument, errCode, is always required as the last argument. Usage SyntaxThe usage syntax for a method may differ between Server Script and COM, as described in the text that follows. The description uses the following terms in addition to the ones defined previously:
Siebel VBreturnValue = ObjectReference.MethodName(arg1, arg2, ..., argn) returnValue = ObjectReference.MethodName ObjectReference.MethodName arg1, arg2, ..., argn ExamplesacctName = acctBC.GetFieldValue("Name") Siebel eScriptreturnValue = ObjectReference.MethodName(arg1, arg2, ..., argn); returnValue = ObjectReference.MethodName(); ObjectReference.MethodName(arg1, arg2, ..., argn); ExamplesacctName = acctBC.GetFieldValue("Name"); Using parentheses ( ) when none are required, or failing to use them when they are required, generates a Type Mismatch (error code 13) message. Another cause of this error code is using an incorrect quantity of arguments. COMThe usage depends on the language being used to call the COM Interfaces. For Microsoft Visual Basic and equivalent languages, the usage is similar to that of Siebel VB, except that an error code is passed as the final argument in the case of the COM Data Control. |
Siebel Object Interfaces Reference | Copyright © 2008, Oracle. All rights reserved. | |