SetProperty Method for a Property Set

The SetProperty method sets a value in the property of a property set. This method does not return any information. For more information, see GetProperty Method for a Property Set.

Format

oPropSet.SetProperty propName, propValue

The arguments you can use with this format are the same as the arguments described in SetProperty Method for a Business Service.

Used With

Browser Script, COM Data Control, COM Data Server, Siebel Java Data Bean, Mobile Web Client Automation Server, Server Script

Examples

This Siebel VB fragment uses the Shipping Engine business service:

   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 With   

For more information, see Service_PreInvokeMethod Event.