GetProcessServiceManager Function

Returns the ProcessServiceManager (central Uno ServiceManager).

ფუქნცია გამოიყენება იმ შემთხვევაში, როდესაც გსურთ სერვისის ინსტანირება CreateInstanceWithArguments-ის გამოყენებით.

Syntax:

oServiceManager = GetProcessServiceManager()

Example:


    oServiceManager = GetProcessServiceManager()
    oIntrospection = oServiceManager.createInstance("com.sun.star.beans.Introspection");
    ' this is the same as the following statement:
    oIntrospection = CreateUnoService("com.sun.star.beans.Introspection")