Contents

# GetProcessServiceManager Function

傳回 ProcessServiceManager (中央 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")