private CommandInfo GetGoPrtgFunction() { var function = InvokeCommand.GetCommand(goPrtgFunction, CommandTypes.Function); return(function); }