GetContextService

Description

Creates a reference to a context-specific instance of the specified service.

Syntax

PowerBuilder DataWindow control, DataStore object, or child DataWindow

integer objectname.GetContextService ( string servicename, PowerObject servicereference )

Returns

Returns 1 if the method succeeds and -1 if an error occurs.