Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference > Interfaces Reference > Property Set Methods >
SetProperty
This method assigns a data value to a property in a property set.
Syntax
oPropSet.SetProperty propName, propValue
Parameter Description propName A string representing the name of a property propValue A string representing the value to be assigned to propNameReturns
Not applicable
Used With
Browser Script, Server Script, Web Client Automation Server, Mobile/Dedicated Web Client Automation Server, COM Data Control, COM Data Server, Java Data Bean
Example
This Siebel VB fragment makes use of the business service "Shipping Engine," which is illustrated in Service_PreInvokeMethod.
Dim Svc As Service
Dim Inputs As PropertySet, Outputs As PropertySet
Set Svc = theApplication.GetService("Shipping Engine")
Set Inputs = theApplication.NewPropertySet()With Inputs
.SetProperty "Shipping Company", "Airline"
.SetProperty "Weight", "12"
.SetProperty "Total Dimensions", "48"
.SetProperty "Shipping Method", "Second-Day Air"
End WithSee Also
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Object Interfaces Reference Published: 18 June 2003 |