Specifying Contexts
Contexts can be specified in three ways:
Define the context in the @SERVER group. For more information, see the section Info*Engine User’s Guide.
Establish a method context using the Start-Session webject. Using the Start-Session webject overrides a context defined in the @SERVER group. For more information, see Start-Session.
Specify the CONTAINER_REF parameter in a webject. Specifying CONTAINER_REF overrides both the context defined in the @SERVER group and a method context established by the Start-Session webject.
These options apply to all context-aware webjects. One exception is the Create-Objects webject, which only recognizes CONTAINER_REF. Multiple contexts can be specified when you use the CONTAINER_REF parameter.
這是否有幫助?